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
|
|
@ -1,6 +1,7 @@
|
|||
mod gemini;
|
||||
|
||||
use super::{Feature, Page};
|
||||
use adw::TabPage;
|
||||
use gemini::Gemini;
|
||||
use std::rc::Rc;
|
||||
|
||||
|
|
@ -13,9 +14,9 @@ impl Driver {
|
|||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(page: &Rc<Page>) -> Self {
|
||||
pub fn build(page: &Rc<Page>, tab_page: &TabPage) -> Self {
|
||||
Driver {
|
||||
gemini: Gemini::init(page),
|
||||
gemini: Gemini::init(page, tab_page),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue