widgets/episode: replace deprecated method
This commit is contained in:
parent
7dc1b25ee7
commit
644ca7d0d0
@ -580,7 +580,7 @@ fn progress_bar_helper(
|
|||||||
.total_size
|
.total_size
|
||||||
.get_text()
|
.get_text()
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|s| s.trim_right_matches(" MB"))
|
.map(|s| s.trim_end_matches(" MB"))
|
||||||
.and_then(|s| s.parse::<i32>().ok())
|
.and_then(|s| s.parse::<i32>().ok())
|
||||||
.is_none()
|
.is_none()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user