mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
remove async dependencies
This commit is contained in:
parent
e2b0cd6b0d
commit
b187f36028
33 changed files with 120 additions and 129 deletions
|
|
@ -18,7 +18,7 @@ use gtk::{
|
|||
prelude::GtkWindowExt,
|
||||
};
|
||||
use sqlite::Transaction;
|
||||
use std::{rc::Rc, sync::Arc};
|
||||
use std::rc::Rc;
|
||||
|
||||
pub struct Browser {
|
||||
pub action: Rc<Action>,
|
||||
|
|
@ -30,7 +30,7 @@ impl Browser {
|
|||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(profile: &Arc<Profile>) -> Browser {
|
||||
pub fn build(profile: &Rc<Profile>) -> Browser {
|
||||
// Init components
|
||||
let action = Rc::new(Action::new());
|
||||
let window = Rc::new(Window::build(profile, &action));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue