diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Notifs.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml index aa440fe..aff2dfc 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -186,6 +186,7 @@ Singleton { property string appIcon property string appName property string image + property var hints // Hints are not persisted across restarts property real expireTimeout: Config.notifs.defaultExpireTimeout property int urgency: NotificationUrgency.Normal property bool resident @@ -301,6 +302,10 @@ Singleton { invoke: () => a.invoke() })); } + + function onHintsChanged(): void { + notif.hints = notif.notification.hints; + } } function lock(item: Item): void { @@ -335,6 +340,7 @@ Singleton { if (notification?.image) dummyImageLoader.active = true; expireTimeout = notification.expireTimeout; + hints = notification.hints; urgency = notification.urgency; resident = notification.resident; hasActionIcons = notification.hasActionIcons; |