1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 08:12:09 -04:00

Right-Click to set Rules on Notifications directly

This commit is contained in:
purian23
2026-02-14 19:59:38 -05:00
committed by bbedward
parent 62bc25782c
commit 949c216964
4 changed files with 88 additions and 2 deletions

View File

@@ -6,6 +6,15 @@ import qs.Modules.Settings.Widgets
Item {
id: root
Component.onCompleted: {
if (SettingsData._pendingExpandNotificationRules) {
SettingsData._pendingExpandNotificationRules = false;
notificationRulesCard.userToggledCollapse = true;
notificationRulesCard.expanded = true;
SettingsData._pendingNotificationRuleIndex = -1;
}
}
readonly property var mutedRules: {
var rules = SettingsData.notificationRules || [];
var out = [];