fix: timer restore at app launch

This commit is contained in:
FoundTheWOUT
2022-08-21 13:33:12 +08:00
committed by GyDi
parent 3f58d05aa7
commit 30f9f1a021
2 changed files with 35 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ impl Core {
// timer initialize
let mut timer = self.timer.lock();
timer.set_core(self.clone());
log_if_err!(timer.refresh());
log_if_err!(timer.restore());
}
/// save the window instance