From 2f6e6497e461a00e538beddc800a5cbe7ce4cab9 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sat, 27 Feb 2021 14:33:53 +0100 Subject: [PATCH] refactor: store actual app version in indexedDb --- src/app/app.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 1de074c06..96f37fdcf 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -117,6 +117,11 @@ export class AppComponent { } } }); + + // store current app version (TODO: "what is new" dialog in v0.5) + this.storage + .set('version', this.electronService.getAppVersion()) + .subscribe(() => {}); } /**