fix: display correct app version for desktop

This commit is contained in:
Mo
2022-01-03 15:28:04 -06:00
committed by Karol Sójko
parent e79f326e5b
commit dfde84c2f6
9 changed files with 60 additions and 104 deletions

View File

@@ -226,6 +226,10 @@ export class AppState {
storage.set(StorageKey.ShowBetaWarning, true);
}
public get version(): string {
return this.bridge.appVersion;
}
async openNewNote(title?: string) {
if (!this.multiEditorSupport) {
this.closeActiveNoteController();