Move more security and safety-relevant options to a better suited page
This includes the "show link previews", and "enable typing notifications" options. I also re-arranged the Security & Safety page into more sensible groups, and in preparation for more invite options.
This commit is contained in:
@@ -333,22 +333,6 @@ FormCard.FormCardPage {
|
||||
NeoChatConfig.save();
|
||||
}
|
||||
}
|
||||
|
||||
FormCard.FormDelegateSeparator {
|
||||
above: showLocalMessagesOnRightDelegate
|
||||
below: showLinkPreviewDelegate
|
||||
}
|
||||
|
||||
FormCard.FormCheckDelegate {
|
||||
id: showLinkPreviewDelegate
|
||||
text: i18nc("@label:checkbox", "Show link previews")
|
||||
description: i18nc("@info:label", "You can customize this per-room under room settings. If unchecked, disables link previews in every room.")
|
||||
checked: NeoChatConfig.showLinkPreview
|
||||
onToggled: {
|
||||
NeoChatConfig.showLinkPreview = checked;
|
||||
NeoChatConfig.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FormCard.FormHeader {
|
||||
|
||||
Reference in New Issue
Block a user