mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update message
This commit is contained in:
parent
58b685ec1d
commit
6f1761dcd7
@ -504,7 +504,7 @@ impl Page {
|
|||||||
move |_, total| {
|
move |_, total| {
|
||||||
// Update loading progress
|
// Update loading progress
|
||||||
download_status.set_label(
|
download_status.set_label(
|
||||||
&format!("Download: {total} bytes")
|
&format!("Received {total} bytes...")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -514,7 +514,7 @@ impl Page {
|
|||||||
Ok((_, total)) => {
|
Ok((_, total)) => {
|
||||||
// Update loading progress
|
// Update loading progress
|
||||||
download_status.set_label(
|
download_status.set_label(
|
||||||
&format!("Download completed ({total} bytes total)")
|
&format!("Download ({total} bytes) completed!")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user