From 879a787c8c151040d698256fccb438164f910838 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sun, 11 May 2025 21:35:21 -0300 Subject: [PATCH] :boom: ags(notifications): fix `Notifications.sendNotification()` too much arguments when using actions --- ags/scripts/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ags/scripts/notifications.ts b/ags/scripts/notifications.ts index bd61f68..51e2649 100644 --- a/ags/scripts/notifications.ts +++ b/ags/scripts/notifications.ts @@ -154,7 +154,7 @@ class Notifications extends GObject.Object { "-i", props.image ] : []), ...(props.actions ? props.actions.map((action) => [ "-A", action.text ] - ).join("\s") : []), ...(props.replaceId ? [ + ).flat(2) : []), ...(props.replaceId ? [ "-r", props.replaceId.toString() ] : []), props.summary, props.body ? props.body : "" ]).then((stdout) => {