From 383b31c185ed08901594f7633a575f72c18bea78 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sat, 25 Dec 2021 20:32:38 +0100 Subject: [PATCH] Expose hiddent GUI option Fix #49 --- .../NeoChat/Settings/GeneralSettingsPage.qml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/imports/NeoChat/Settings/GeneralSettingsPage.qml b/imports/NeoChat/Settings/GeneralSettingsPage.qml index dfcad3319..661e4e211 100644 --- a/imports/NeoChat/Settings/GeneralSettingsPage.qml +++ b/imports/NeoChat/Settings/GeneralSettingsPage.qml @@ -56,6 +56,24 @@ Kirigami.ScrollablePage { Config.save() } } + QQC2.CheckBox { + text: i18n("Show name change events") + checked: Config.showRename + enabled: !Config.isShowRenameImmutable + onToggled: { + Config.showRename = checked + Config.save() + } + } + QQC2.CheckBox { + text: i18n("Show avatar update events") + checked: Config.showAvatarUpdate + enabled: !Config.isShowAvatarUpdateImmutable + onToggled: { + Config.showAvatarUpdate = checked + Config.save() + } + } QQC2.RadioButton { Kirigami.FormData.label: i18n("Rooms and private chats:") text: i18n("Separated")