mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-17 19:22:04 -04:00
notifications: add configurable durations for do not disturb
fixes #1481
This commit is contained in:
@@ -188,6 +188,9 @@ Item {
|
||||
case "battery":
|
||||
coreDetailLoader.sourceComponent = batteryDetailComponent;
|
||||
break;
|
||||
case "doNotDisturb":
|
||||
coreDetailLoader.sourceComponent = doNotDisturbDetailComponent;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
@@ -230,6 +233,11 @@ Item {
|
||||
BatteryDetail {}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: doNotDisturbDetailComponent
|
||||
DoNotDisturbDetail {}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: diskUsageDetailComponent
|
||||
DiskUsageDetail {
|
||||
|
||||
Reference in New Issue
Block a user