🚧 Handle logged state + Login -> ContactsWindow transition
This commit is contained in:
10
src/base.rs
10
src/base.rs
@@ -1,5 +1,13 @@
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub enum Info {}
|
||||
pub struct Store {
|
||||
pub is_logged: bool,
|
||||
}
|
||||
|
||||
// pub type ProgramStore = Store<Info>;
|
||||
// pub type AsyncProgramStore = Arc<AsyncMutex<ProgramStore>>;
|
||||
|
||||
impl Store {
|
||||
pub fn new() -> Self {
|
||||
Self { is_logged: false }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user