From 3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Tue, 19 Jul 2022 12:52:31 +0100 Subject: Feature: Add Release Notes (#491) Co-authored-by: Vijay A Co-authored-by: Ricardo Cino --- src/stores/AppStore.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/stores') diff --git a/src/stores/AppStore.ts b/src/stores/AppStore.ts index 116e64756..af1a0daae 100644 --- a/src/stores/AppStore.ts +++ b/src/stores/AppStore.ts @@ -82,6 +82,8 @@ export default class AppStore extends TypedStore { @observable updateStatus = ''; + @observable updateVersion = ''; + @observable locale = ferdiumLocale; @observable isSystemMuteOverridden = false; @@ -94,7 +96,8 @@ export default class AppStore extends TypedStore { @observable isFocused = true; - @observable lockingFeatureEnabled = DEFAULT_APP_SETTINGS.lockingFeatureEnabled; + @observable lockingFeatureEnabled = + DEFAULT_APP_SETTINGS.lockingFeatureEnabled; @observable launchInBackground = DEFAULT_APP_SETTINGS.autoLaunchInBackground; @@ -181,6 +184,7 @@ export default class AppStore extends TypedStore { ipcRenderer.on('autoUpdate', (_, data) => { if (this.updateStatus !== this.updateStatusTypes.FAILED) { if (data.available) { + this.updateVersion = data.version; this.updateStatus = this.updateStatusTypes.AVAILABLE; if (isMac && this.stores.settings.app.automaticUpdates) { app.dock.bounce(); -- cgit v1.2.3-54-g00ecf