Skip to content

Commit 0f01eb8

Browse files
author
yggverse
committed
fix preload bytes format
1 parent b9def82 commit 0f01eb8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/app/browser/window/tab/item/client/driver

src/app/browser/window/tab/item/client/driver/gemini.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use super::{Feature, Page};
2+
use crate::tool::Format;
23
use ggemini::client::connection::response::{Input, Redirect};
34
use ggemini::{
45
client::{Client, Request, Response},
@@ -444,7 +445,7 @@ fn handle(
444445
total: 0, // initial totals
445446
},
446447
(
447-
move |_, total| status.set_description(Some(&format!("Download: {total} bytes"))),
448+
move |_, total| status.set_description(Some(&format!("Download: {}", total.bytes()))),
448449
{
449450
move | result | match result {
450451
Ok((memory_input_stream, _)) => {

0 commit comments

Comments
 (0)