mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
fix preload bytes format
This commit is contained in:
parent
b9def8216d
commit
0f01eb83de
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use super::{Feature, Page};
|
||||
use crate::tool::Format;
|
||||
use ggemini::client::connection::response::{Input, Redirect};
|
||||
use ggemini::{
|
||||
client::{Client, Request, Response},
|
||||
|
|
@ -444,7 +445,7 @@ fn handle(
|
|||
total: 0, // initial totals
|
||||
},
|
||||
(
|
||||
move |_, total| status.set_description(Some(&format!("Download: {total} bytes"))),
|
||||
move |_, total| status.set_description(Some(&format!("Download: {}", total.bytes()))),
|
||||
{
|
||||
move | result | match result {
|
||||
Ok((memory_input_stream, _)) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue