From 839923967c6132e30846bf7ba39c65bce76067fa Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 22 Sep 2024 18:50:38 +0800 Subject: [PATCH] git rid of a .clone() that crept in, now fixed by prior commit --- services/modals/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/modals/src/main.rs b/services/modals/src/main.rs index e33610eec..e13c7856b 100644 --- a/services/modals/src/main.rs +++ b/services/modals/src/main.rs @@ -427,7 +427,7 @@ fn wrapped_main() -> ! { } } renderer_modal.modify( - Some(ActionType::Slider(progress_action.clone())), + Some(ActionType::Slider(progress_action)), None, false, None, @@ -592,7 +592,7 @@ fn wrapped_main() -> ! { #[cfg(feature = "tts")] tts.tts_simple(config.title.as_str()).unwrap(); renderer_modal.modify( - Some(ActionType::Slider(progress_action.clone())), + Some(ActionType::Slider(progress_action)), Some(config.title.as_str()), false, None,