[SettingsPage] Use text properties instead of FormData.label properties for checkbox labels
This commit is contained in:
@@ -17,12 +17,15 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
Kirigami.FormLayout {
|
Kirigami.FormLayout {
|
||||||
QQC2.CheckBox {
|
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
|
checked: Config.showNotifications
|
||||||
onToggled: Config.showNotifications = checked
|
onToggled: Config.showNotifications = checked
|
||||||
}
|
}
|
||||||
QQC2.CheckBox {
|
QQC2.CheckBox {
|
||||||
Kirigami.FormData.label: i18n("Show leave and join events:")
|
text: i18n("Show leave and join events")
|
||||||
checked: Config.showLeaveJoinEvent
|
checked: Config.showLeaveJoinEvent
|
||||||
onToggled: Config.showLeaveJoinEvent = checked
|
onToggled: Config.showLeaveJoinEvent = checked
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user