mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
reset page info globally (on client handle begin)
This commit is contained in:
parent
01ea693c03
commit
d7e1b88fdf
2 changed files with 11 additions and 14 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue