mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
fix notifs
This commit is contained in:
@@ -341,9 +341,6 @@ Singleton {
|
|||||||
readonly property string summary: notification.summary
|
readonly property string summary: notification.summary
|
||||||
readonly property string body: notification.body
|
readonly property string body: notification.body
|
||||||
readonly property string htmlBody: {
|
readonly property string htmlBody: {
|
||||||
if (!popup && !root.popupsDisabled) {
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
if (body && (body.includes('<') && body.includes('>'))) {
|
if (body && (body.includes('<') && body.includes('>'))) {
|
||||||
return body
|
return body
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ Singleton {
|
|||||||
toastTimer.interval = 8000
|
toastTimer.interval = 8000
|
||||||
toastTimer.start()
|
toastTimer.start()
|
||||||
} else {
|
} 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()
|
toastTimer.start()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user