mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-24 01:54:19 +00:00
deactivate loading on input response
This commit is contained in:
parent
96f2edddfb
commit
3a9fe3a36c
@ -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…
x
Reference in New Issue
Block a user