[Astal] Notifications: Delete not working version
This commit is contained in:
@@ -8,14 +8,16 @@ export function NotificationIcon(notification: Notifd.Notification) {
|
||||
const icon = notification.image || notification.appIcon || notification.desktopEntry;
|
||||
if (fileExists(icon)) {
|
||||
return (
|
||||
<box expand={false} valign={Gtk.Align.CENTER}>
|
||||
<image file={icon} />
|
||||
<box hexpand={false} valign={Gtk.Align.CENTER} child={
|
||||
<image file={icon} />
|
||||
}>
|
||||
</box>
|
||||
);
|
||||
} else if (isIcon(icon)) {
|
||||
return (
|
||||
<box expand={false} valign={Gtk.Align.CENTER}>
|
||||
<image iconName={icon} />
|
||||
<box hexpand={false} valign={Gtk.Align.CENTER} child={
|
||||
<image iconName={icon} />
|
||||
}>
|
||||
</box>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user