Update ui/app/AppLayouts/Profile/views/MessagingView.qml
Simplify if statement Co-authored-by: Lukáš Tinkl <lukast@status.im>
This commit is contained in:
parent
0996ef3612
commit
f20c5efe20
|
@ -154,7 +154,7 @@ SettingsContentBase {
|
|||
]
|
||||
onClicked: {
|
||||
showMessageLinksSwitch.toggle()
|
||||
if (showMessageLinksSwitch.checked === false) {
|
||||
if (!showMessageLinksSwitch.checked) {
|
||||
showMessageLinksSwitch.switchOffPreviewableSites()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue