diff --git a/ui/app/AppLayouts/Profile/views/PrivacyView.qml b/ui/app/AppLayouts/Profile/views/PrivacyView.qml index dfa47b2239..944f183812 100644 --- a/ui/app/AppLayouts/Profile/views/PrivacyView.qml +++ b/ui/app/AppLayouts/Profile/views/PrivacyView.qml @@ -157,11 +157,11 @@ Item { StatusQControls.StatusSwitch { id: switch1 checked: !localAccountSensitiveSettings.onlyShowContactsProfilePics + onClicked: { + localAccountSensitiveSettings.onlyShowContactsProfilePics = !checked + } } ] - sensor.onClicked: { - switch1.checked = localAccountSensitiveSettings.onlyShowContactsProfilePics = !switch1.checked - } } StatusListItem { @@ -176,11 +176,11 @@ Item { StatusQControls.StatusSwitch { id: switch2 checked: localAccountSensitiveSettings.displayChatImages + onClicked: { + localAccountSensitiveSettings.displayChatImages = checked + } } ] - sensor.onClicked: { - switch2.checked = localAccountSensitiveSettings.displayChatImages = !switch2.checked - } } StatusBaseText {