1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

use Paths.strip helper everywhere for consistency sake

This commit is contained in:
bbedward
2025-09-17 11:08:51 -04:00
parent 344761df00
commit 02300024cf
7 changed files with 19 additions and 33 deletions

View File

@@ -362,10 +362,7 @@ Singleton {
if (!image) {
return ""
}
if (image.startsWith("file://")) {
return image.substring(7)
}
return image
return Paths.strip(image)
}
readonly property int urgency: notification.urgency
readonly property list<NotificationAction> actions: notification.actions