From 159814b3c7dd474bd93214df62a9ef362aa0caa9 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 27 Mar 2025 21:17:12 +0200 Subject: [PATCH] update ggemini api --- .../browser/window/tab/item/client/driver/gemini.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/browser/window/tab/item/client/driver/gemini.rs b/src/app/browser/window/tab/item/client/driver/gemini.rs index b271e6b5..c160f5e6 100644 --- a/src/app/browser/window/tab/item/client/driver/gemini.rs +++ b/src/app/browser/window/tab/item/client/driver/gemini.rs @@ -247,11 +247,11 @@ fn handle( file_output_stream, cancellable.clone(), Priority::DEFAULT, - ( - 0x100000, // 1M bytes per chunk - None, // unlimited - 0, // initial totals - ), + file_output_stream::Size { + chunk: 0x100000, // 1M bytes per chunk + limit: None, // unlimited + total: 0, // initial totals + }, ( // on chunk {