mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-30 16:25:35 +00:00
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…
x
Reference in New Issue
Block a user