From ba1a2d08b5288a443d8e0134deb852c597a6d00d Mon Sep 17 00:00:00 2001 From: B0ney <40839054+B0ney@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:19:41 +0100 Subject: [PATCH] fix messages when ripping has finished --- src/screen/main_panel.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/screen/main_panel.rs b/src/screen/main_panel.rs index 0bc577f1..63fa0b7a 100644 --- a/src/screen/main_panel.rs +++ b/src/screen/main_panel.rs @@ -115,7 +115,7 @@ pub fn view_finished<'a>( column![ text("Done! \\(^_^)/"), text("Drag and Drop"), - text(format!("Took {}", time)), + text(format!("{}", time)), Space::with_height(15), continue_button ] @@ -128,7 +128,7 @@ pub fn view_finished<'a>( column![ text("Cancelled"), text("Drag and Drop"), - text(format!("Took {}", time)), + text(format!("{}", time)), Space::with_height(15), continue_button ] @@ -151,7 +151,7 @@ pub fn view_finished<'a>( CompleteState::SomeErrors(errors) => { let message = column![ centered_text("Done... But xmodits could not rip everything... (._.)"), - text(format!("Took {}", time)), + text(format!("{}", time)), ]; let buttons = row![continue_button, save_errors_button] @@ -195,7 +195,7 @@ pub fn view_finished<'a>( .on_press(Message::Open(log.display().to_string())) .style(theme::Button::HyperlinkInverted), centered_text(format!("{} errors written", total)), - text(format!("Took {}", time)), + text(format!("{}", time)), // space, row![continue_button] .padding(4)