🚧 Handle logged state + Login -> ContactsWindow transition

This commit is contained in:
2023-08-05 20:17:05 +02:00
parent 45d5eb704c
commit a380c42b03
6 changed files with 81 additions and 30 deletions

View File

@@ -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 }
}
}