reset page info globally (on client handle begin)

This commit is contained in:
yggverse 2025-03-27 22:50:43 +02:00
parent 01ea693c03
commit d7e1b88fdf
2 changed files with 11 additions and 14 deletions

View file

@ -94,15 +94,8 @@ impl Gemini {
feature: Rc<Feature>,
cancellable: Cancellable,
is_snap_history: bool,
is_redirect: bool,
) {
use ggemini::client::connection::request::{Mode, Request};
self.page
.navigation
.request
.info
.borrow_mut()
.reset(!is_redirect);
match uri.scheme().as_str() {
"gemini" => handle(
self,