1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

fix notifs

This commit is contained in:
bbedward
2025-09-10 11:19:11 -04:00
parent fb01d1af4b
commit fb94dd0c4a
2 changed files with 1 additions and 4 deletions

View File

@@ -341,9 +341,6 @@ Singleton {
readonly property string summary: notification.summary
readonly property string body: notification.body
readonly property string htmlBody: {
if (!popup && !root.popupsDisabled) {
return ""
}
if (body && (body.includes('<') && body.includes('>'))) {
return body
}

View File

@@ -72,7 +72,7 @@ Singleton {
toastTimer.interval = 8000
toastTimer.start()
} else {
toastTimer.interval = toast.level === levelError ? 5000 : toast.level === levelWarn ? 4000 : 3000
toastTimer.interval = toast.level === levelError ? 5000 : toast.level === levelWarn ? 3000 : 1500
toastTimer.start()
}
}