mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
update is_loading update logic
This commit is contained in:
parent
2f22185d6a
commit
88457b3fa0
6 changed files with 41 additions and 90 deletions
|
|
@ -15,10 +15,7 @@ use widget::Widget;
|
|||
|
||||
use super::{Action as TabAction, BrowserAction, Profile, WindowAction};
|
||||
|
||||
use gtk::{
|
||||
glib::GString,
|
||||
prelude::{EditableExt, EntryExt},
|
||||
};
|
||||
use gtk::{glib::GString, prelude::EditableExt};
|
||||
use sqlite::Transaction;
|
||||
use std::{cell::RefCell, rc::Rc};
|
||||
|
||||
|
|
@ -192,13 +189,6 @@ impl Page {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
||||
/// Get `Self` loading status
|
||||
pub fn is_loading(&self) -> bool {
|
||||
self.navigation.request.widget.entry.progress_fraction() > 0.0
|
||||
}
|
||||
}
|
||||
|
||||
// Tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue