add db migrations and restore config on unlock
This commit is contained in:
1 parent
a10510ed6e
commit
0798124811
12 files changed
+365
-41
No files matched your search
+3
-1
@@ -10,6 +10,9 @@ mod error;
|
||||
mod screens;
|
||||
mod session;
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_data;
|
||||
|
||||
use config::AppConfig;
|
||||
use session::AppSession;
|
||||
use screens::{HomeScreen, UnlockScreen, WelcomeScreen};
|
||||
@@ -47,7 +50,6 @@ fn main() {
|
||||
// todo: replace this with proper error handling
|
||||
let app_config = AppConfig::load().expect("failed to load config");
|
||||
let app_session = AppSession::load(&app_config);
|
||||
dbg!(&app_session);
|
||||
|
||||
// Icons are read through the asset source, so register the bundle.
|
||||
gpui_kit::application()
|
||||
|
||||
Reference in new issue
Block a user