From 20af5435a5903ef046a21e4fe4d57bb998a6aabf Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Mon, 18 Oct 2021 11:05:03 +0200 Subject: [PATCH] fix(@desktop/profile): fix bug in switch buttons for privacy settings This bug was introduced with the profile refactor to use stores. Due to copy and paste, the wrong expression is used in the settings to display chat images. This commit corrects that. --- ui/app/AppLayouts/Profile/views/PrivacyView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Profile/views/PrivacyView.qml b/ui/app/AppLayouts/Profile/views/PrivacyView.qml index b74fee1f37..d3c57226a5 100644 --- a/ui/app/AppLayouts/Profile/views/PrivacyView.qml +++ b/ui/app/AppLayouts/Profile/views/PrivacyView.qml @@ -187,7 +187,7 @@ Item { } ] sensor.onClicked: { - switch2.checked = appSettings.onlyShowContactsProfilePics = !switch2.checked + switch2.checked = appSettings.displayChatImages = !switch2.checked } }