From 3a9fe3a36c13cc9c81eeff476987f6fa833cd2c9 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 21 Jan 2025 19:55:08 +0200 Subject: [PATCH] deactivate loading on input response --- src/app/browser/window/tab/item/client/driver/gemini.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 7b93690e..e997f908 100644 --- a/src/app/browser/window/tab/item/client/driver/gemini.rs +++ b/src/app/browser/window/tab/item/client/driver/gemini.rs @@ -160,6 +160,8 @@ impl Gemini { ); } page.title.replace(title.into()); + page.navigation.request.widget.entry.set_progress_fraction(0.0); + tab_page.set_loading(false); } // https://geminiprotocol.net/docs/protocol-specification.gmi#status-20 Status::Success => match feature { @@ -253,7 +255,7 @@ impl Gemini { None => uri_to_title(&uri), }); - // Deactivate progress fraction + // Deactivate loading indication page.navigation.request.widget.entry.set_progress_fraction(0.0); tab_page.set_loading(false);