[Astal] Notifications: Delete not working version

This commit is contained in:
2026-04-23 10:45:03 +02:00
parent 50012b04bc
commit fe14b2c78f
9 changed files with 790 additions and 430 deletions
@@ -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>
);
}