mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove Subject struct, use public Page API for Client driver, remove widget mod
This commit is contained in:
parent
6945aaebc5
commit
ed1dbd421c
11 changed files with 204 additions and 428 deletions
|
|
@ -1,6 +1,6 @@
|
|||
mod gemini;
|
||||
|
||||
use super::{Feature, Subject};
|
||||
use super::{Feature, Page};
|
||||
use gemini::Gemini;
|
||||
use std::rc::Rc;
|
||||
|
||||
|
|
@ -13,9 +13,9 @@ impl Driver {
|
|||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(subject: &Rc<Subject>) -> Self {
|
||||
pub fn build(page: &Rc<Page>) -> Self {
|
||||
Driver {
|
||||
gemini: Gemini::init(subject),
|
||||
gemini: Gemini::init(page),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue