mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
hide input on page reload
This commit is contained in:
parent
d06538726b
commit
cf86cc2a14
3 changed files with 23 additions and 4 deletions
|
|
@ -158,6 +158,9 @@ impl Page {
|
|||
}
|
||||
|
||||
pub fn navigation_reload(&self) {
|
||||
// Reset components
|
||||
self.input.hide();
|
||||
|
||||
// Init globals
|
||||
let request_text = self.navigation.request_text();
|
||||
|
||||
|
|
@ -282,6 +285,7 @@ impl Page {
|
|||
|
||||
// Make input form
|
||||
input.set_default(action_page_open, uri, Some(&description), Some(1024));
|
||||
input.show();
|
||||
|
||||
// Update meta
|
||||
meta.borrow_mut().status = Some(status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue