From 0ef749e01ece78bf674c084ef1e0a011ff6054f5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 20 Jul 2018 10:50:10 +0200 Subject: [PATCH] fix(SettingsUi): disable delete avatars button when contacts are disabled --- ui/views/App/Settings/SettingsUi.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/views/App/Settings/SettingsUi.qml b/ui/views/App/Settings/SettingsUi.qml index 34a680d14..e8e168bdd 100644 --- a/ui/views/App/Settings/SettingsUi.qml +++ b/ui/views/App/Settings/SettingsUi.qml @@ -105,8 +105,6 @@ TabContainer { } } } - - FormEmptyLine {} } // ------------------------------------------------------------------------- @@ -115,12 +113,14 @@ TabContainer { Form { title: qsTr('dataTitle') + visible: SettingsModel.contactsEnabled width: parent.width } TextButtonB { anchors.right: parent.right text: qsTr('cleanAvatars') + visible: SettingsModel.contactsEnabled onClicked: Logic.cleanAvatars() }