1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-11 07:52:50 -05:00

Merge pull request #127 from gonengazit/master

change DesktopEntries.byId to DesktopEntries.heuristicLookup
This commit is contained in:
BB
2025-08-29 11:48:39 -04:00
committed by GitHub
4 changed files with 11 additions and 12 deletions

View File

@@ -327,7 +327,7 @@ Singleton {
readonly property string appIcon: notification.appIcon
readonly property string appName: {
if (notification.appName == "") {
const entry = DesktopEntries.byId(notification.desktopEntry)
const entry = DesktopEntries.heuristicLookup(notification.desktopEntry)
if (entry && entry.name) {
return entry.name.toLowerCase()
}