mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
deactivate loading on input response
This commit is contained in:
parent
96f2edddfb
commit
3a9fe3a36c
1 changed files with 3 additions and 1 deletions
|
|
@ -160,6 +160,8 @@ impl Gemini {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
page.title.replace(title.into());
|
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
|
// https://geminiprotocol.net/docs/protocol-specification.gmi#status-20
|
||||||
Status::Success => match feature {
|
Status::Success => match feature {
|
||||||
|
|
@ -253,7 +255,7 @@ impl Gemini {
|
||||||
None => uri_to_title(&uri),
|
None => uri_to_title(&uri),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Deactivate progress fraction
|
// Deactivate loading indication
|
||||||
page.navigation.request.widget.entry.set_progress_fraction(0.0);
|
page.navigation.request.widget.entry.set_progress_fraction(0.0);
|
||||||
tab_page.set_loading(false);
|
tab_page.set_loading(false);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue