fix: display correct app version for desktop
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -11,7 +11,6 @@ import { ThemeManager } from '@/services/themeManager';
|
||||
import { PasswordWizardScope, PasswordWizardType } from '@/types';
|
||||
import { AppState } from '@/ui_models/app_state';
|
||||
import { NoteGroupController } from '@/views/note_group_view/note_group_controller';
|
||||
import { AppVersion } from '@/version';
|
||||
import { WebDeviceInterface } from '@/web_device_interface';
|
||||
import {
|
||||
DeinitSource,
|
||||
@@ -59,7 +58,7 @@ export class WebApplication extends SNApplication {
|
||||
identifier,
|
||||
[],
|
||||
defaultSyncServerHost,
|
||||
AppVersion,
|
||||
bridge.appVersion,
|
||||
enableUnfinishedFeatures,
|
||||
webSocketUrl
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user