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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user