diff --git a/ui/app/AppLayouts/Profile/views/MessagingView.qml b/ui/app/AppLayouts/Profile/views/MessagingView.qml index 7dd51add9e..d452130f9e 100644 --- a/ui/app/AppLayouts/Profile/views/MessagingView.qml +++ b/ui/app/AppLayouts/Profile/views/MessagingView.qml @@ -154,7 +154,7 @@ SettingsContentBase { ] onClicked: { showMessageLinksSwitch.toggle() - if (showMessageLinksSwitch.checked === false) { + if (!showMessageLinksSwitch.checked) { showMessageLinksSwitch.switchOffPreviewableSites() } }