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.
This commit is contained in:
Pascal Precht 2021-10-18 11:05:03 +02:00 committed by Iuri Matias
parent 166118d49c
commit 20af5435a5

View File

@ -187,7 +187,7 @@ Item {
}
]
sensor.onClicked: {
switch2.checked = appSettings.onlyShowContactsProfilePics = !switch2.checked
switch2.checked = appSettings.displayChatImages = !switch2.checked
}
}