diff --git a/podcasts-gtk/src/widgets/episode.rs b/podcasts-gtk/src/widgets/episode.rs index 2f6d70d..8601db5 100644 --- a/podcasts-gtk/src/widgets/episode.rs +++ b/podcasts-gtk/src/widgets/episode.rs @@ -580,7 +580,7 @@ fn progress_bar_helper( .total_size .get_text() .as_ref() - .map(|s| s.trim_right_matches(" MB")) + .map(|s| s.trim_end_matches(" MB")) .and_then(|s| s.parse::().ok()) .is_none() {