fix: handle is none

This commit is contained in:
GyDi
2022-09-12 00:45:19 +08:00
parent 6ca81df40c
commit 09807cfcad
3 changed files with 26 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ pub fn resolve_setup(app: &App) {
}
// core should be initialized after init_app fix #122
let mut core = Core::global();
let core = Core::global();
core.init(app.app_handle());
resolve_window(app);