Global Notifications Settings Fixes

Fix it so that scrollpage works and update switch to check delegate
This commit is contained in:
James Graham
2022-11-17 11:23:50 +00:00
committed by Carl Schwan
parent 2cd01164a6
commit 757733e531

View File

@@ -14,12 +14,11 @@ Kirigami.ScrollablePage {
title: i18nc("@title:window", "Notifications")
ColumnLayout {
id: notificationLayout
anchors.fill: parent
MobileForm.FormCard {
Layout.fillWidth: true
contentItem: MobileForm.FormSwitchDelegate {
contentItem: MobileForm.FormCheckDelegate {
text: i18n("Enable notifications for this account")
checked: Config.showNotifications
enabled: !Config.isShowNotificationsImmutable