From a625f715c2326c5ace87dff3fd22604e3f90a438 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Wed, 2 Dec 2020 11:35:53 -0500 Subject: [PATCH] [SettingsPage] Use text properties instead of FormData.label properties for checkbox labels --- imports/NeoChat/Page/SettingsPage.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/imports/NeoChat/Page/SettingsPage.qml b/imports/NeoChat/Page/SettingsPage.qml index 8f46b064d..b3a65eb0b 100644 --- a/imports/NeoChat/Page/SettingsPage.qml +++ b/imports/NeoChat/Page/SettingsPage.qml @@ -17,12 +17,15 @@ Kirigami.ScrollablePage { Kirigami.FormLayout { QQC2.CheckBox { - Kirigami.FormData.label: i18n("Show notifications:") + // TODO: When there are enough notification and timeline event + // settings, make 2 separate groups with FormData labels. + Kirigami.FormData.label: i18n("Notifications and events:") + text: i18n("Show notifications") checked: Config.showNotifications onToggled: Config.showNotifications = checked } QQC2.CheckBox { - Kirigami.FormData.label: i18n("Show leave and join events:") + text: i18n("Show leave and join events") checked: Config.showLeaveJoinEvent onToggled: Config.showLeaveJoinEvent = checked }