about summary refs log tree commit diff
path: root/src/application.rs
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2022-04-22 10:30:19 +0300
committerRicky Kresslein <rk@lakoliu.com>2022-04-22 10:30:19 +0300
commite3bb347a12ad929619a51b37f0ca48dcfe46b731 (patch)
tree643d2b973b003e91762af519620e34065953da64 /src/application.rs
parent22b05e7c934aee734005e7ba601968334467005c (diff)
downloadFurtherance-e3bb347a12ad929619a51b37f0ca48dcfe46b731.tar.zst
Add tags to tasks (Issue #8)
Diffstat (limited to 'src/application.rs')
-rwxr-xr-xsrc/application.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs
index 9120446..06a033b 100755
--- a/src/application.rs
+++ b/src/application.rs
@@ -60,6 +60,7 @@ mod imp {
         fn activate(&self, application: &Self::Type) {
             // Initialize the database
             let _ = database::db_init();
+            let _ = database::upgrade_old_db();
 
             // Get the current window or create one if necessary
             let window = if let Some(window) = application.active_window() {
@@ -142,7 +143,7 @@ impl FurtheranceApplication {
     }
 
     fn setup_application(&self) {
-        self.update_light_dark()
+        self.update_light_dark();
     }
 
     fn show_about(&self) {