Commit e8a7d8da authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[applets/devicenotifier] Add placeholder icon when no device icon exists

Otherwise the list item loses its icon for a moment when its device is
removed, and this looks a bit odd.

BUG: 433534
FIXED-IN: 5.21.2
(cherry picked from commit e60a1694)
parent ea26b92c
......@@ -136,7 +136,9 @@ PlasmaExtras.ExpandableListItem {
}
icon: sdSource.data[udi] == undefined ? "" : sdSource.data[udi].Icon
// When there's no better icon available, show a placeholder icon instead
// of nothing
icon: sdSource.data[udi] == undefined ? "device-notifier" : sdSource.data[udi].Icon
iconEmblem: {
if (sdSource.data[udi] != undefined) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment