From 030fc23ac2c982651d042fa2c981289a63ccc134 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 9 Apr 2026 11:06:43 -0500 Subject: [PATCH] fix the presenter not having the service items when they are added --- src/main.rs | 2 +- src/ui/library.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 233bc12..08b0ccf 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1059,7 +1059,7 @@ impl cosmic::Application for App { return Task::none(); } library::Action::ToService(item) => { - self.service.push(item); + return self.update(Message::AppendServiceItem(item)); } library::Action::Task(task) => { return task.map(|message| { diff --git a/src/ui/library.rs b/src/ui/library.rs index 5cfe603..5e07f0c 100644 --- a/src/ui/library.rs +++ b/src/ui/library.rs @@ -1059,7 +1059,7 @@ impl<'a> Library { let texts = column([text.into(), subtext.into()]); - let add_button = button::icon(icon::from_name("caret-right")) + let add_button = button::icon(icon::from_name("arrow-right")) .on_press(Message::ToService(item.to_service_item())) .tooltip("Add to service");