Fix compilation for macos
Run cargo lints / Lint on ${{ matrix.build }} (linux-amd64, ubuntu-latest, stable, x86_64-unknown-linux-gnu) (pull_request) Successful in 9m25s Details
Run Tests / Test on ${{ matrix.build }} (linux-amd64, ubuntu-latest, stable, x86_64-unknown-linux-gnu) (pull_request) Successful in 15m2s Details

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/376/head
Manos Pitsidianakis 2024-04-03 18:04:22 +03:00
parent c53a32de4c
commit 48cb9ee204
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
1 changed files with 5 additions and 1 deletions

View File

@ -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) => {