From 5d6164973e92fa8a3e3c18a0eb2e29494aea4f48 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Sun, 9 Dec 2018 20:48:25 +0100 Subject: Fix linting issues --- src/stores/AppStore.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 6f156a96d..dd4642d70 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -38,12 +38,15 @@ export default class AppStore extends Store { }; @observable healthCheckRequest = new Request(this.api.app, 'health'); + @observable getAppCacheSizeRequest = new Request(this.api.local, 'getAppCacheSize'); + @observable clearAppCacheRequest = new Request(this.api.local, 'clearAppCache'); @observable autoLaunchOnStart = true; @observable isOnline = navigator.onLine; + @observable timeOfflineStart; @observable updateStatus = null; @@ -150,19 +153,22 @@ export default class AppStore extends Store { key( '⌘+pagedown, ctrl+pagedown, ⌘+alt+right, ctrl+tab', () => { this.actions.service.setActiveNext(); - }); + }, + ); // Set active the prev service key( '⌘+pageup, ctrl+pageup, ⌘+alt+left, ctrl+shift+tab', () => { this.actions.service.setActivePrev(); - }); + }, + ); // Global Mute key( '⌘+shift+m ctrl+shift+m', () => { this.actions.app.toggleMuteApp(); - }); + }, + ); this.locale = this._getDefaultLocale(); @@ -182,7 +188,9 @@ export default class AppStore extends Store { } // Actions - @action _notify({ title, options, notificationId, serviceId = null }) { + @action _notify({ + title, options, notificationId, serviceId = null, + }) { if (this.stores.settings.all.app.isAppMuted) return; const notification = new window.Notification(title, options); -- cgit v1.2.3-70-g09d2