mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 11:38:30 -04:00
feat(notifications): introduce notification foreground layers settings override
port 1.5
(cherry picked from commit 3c688cfbd3)
This commit is contained in:
@@ -300,6 +300,15 @@ Item {
|
||||
onToggled: checked => SettingsData.set("notificationCompactMode", checked)
|
||||
}
|
||||
|
||||
SettingsToggleRow {
|
||||
settingKey: "notificationForegroundLayers"
|
||||
tags: ["notification", "foreground", "layers", "surface", "blur", "glass", "contrast", "cards"]
|
||||
text: I18n.tr("Foreground Layers")
|
||||
description: I18n.tr("Show foreground surfaces on notification cards")
|
||||
checked: SettingsData.notificationForegroundLayers ?? true
|
||||
onToggled: checked => SettingsData.set("notificationForegroundLayers", checked)
|
||||
}
|
||||
|
||||
SettingsToggleRow {
|
||||
settingKey: "notificationShowTimeoutBar"
|
||||
tags: ["notification", "timeout", "progress", "bar", "timer", "countdown"]
|
||||
|
||||
Reference in New Issue
Block a user