git rid of a .clone() that crept in, now fixed by prior commit

This commit is contained in:
bunnie 2024-09-22 18:50:38 +08:00
parent 7141a02e10
commit 839923967c

View file

@ -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,