From 48cb9ee204929b3ae34e48be4f363572091b28f7 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Wed, 3 Apr 2024 18:04:22 +0300 Subject: [PATCH] Fix compilation for macos Signed-off-by: Manos Pitsidianakis --- meli/src/notifications.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meli/src/notifications.rs b/meli/src/notifications.rs index ef36f94b..8ed843c3 100644 --- a/meli/src/notifications.rs +++ b/meli/src/notifications.rs @@ -266,7 +266,11 @@ impl Component for NotificationCommand { .spawn() { Ok(child) => { - context.children.push(child); + context + .children + .entry(stringify!(NotificationCommand).into()) + .or_default() + .push(child); return false; } Err(err) => {