Add option to disable showing new join and leave events

This commit is contained in:
Carl Schwan
2020-11-24 10:39:25 +01:00
parent d7409bf639
commit b6ad038a54
3 changed files with 12 additions and 4 deletions

View File

@@ -17,11 +17,15 @@ Kirigami.ScrollablePage {
Kirigami.FormLayout {
QQC2.CheckBox {
id: showNotifications
Kirigami.FormData.label: i18n("Show Notifications:")
Kirigami.FormData.label: i18n("Show notifications:")
checked: Config.showNotifications
onToggled: Config.showNotifications = checked
}
QQC2.CheckBox {
Kirigami.FormData.label: i18n("Show leave and join events:")
checked: Config.showLeaveJoinEvent
onToggled: Config.showLeaveJoinEvent = checked
}
QQC2.RadioButton {
Kirigami.FormData.label: i18n("Rooms and private chats:")
text: i18n("Separated")