diff options
author | 2018-12-09 20:48:25 +0100 | |
---|---|---|
committer | 2018-12-09 20:48:25 +0100 | |
commit | 5d6164973e92fa8a3e3c18a0eb2e29494aea4f48 (patch) | |
tree | 382e6c672bbc0f7582b3b627b02111dcce902894 /src/models/Service.js | |
parent | Add React 16 didCatch/ErrorBoundary component (diff) | |
download | ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.tar.gz ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.tar.zst ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.zip |
Fix linting issues
Diffstat (limited to 'src/models/Service.js')
-rw-r--r-- | src/models/Service.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/models/Service.js b/src/models/Service.js index 5ec42af80..03aec773b 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -6,9 +6,13 @@ const debug = require('debug')('Franz:Service'); | |||
6 | 6 | ||
7 | export default class Service { | 7 | export default class Service { |
8 | id = ''; | 8 | id = ''; |
9 | |||
9 | recipe = ''; | 10 | recipe = ''; |
11 | |||
10 | webview = null; | 12 | webview = null; |
13 | |||
11 | timer = null; | 14 | timer = null; |
15 | |||
12 | events = {}; | 16 | events = {}; |
13 | 17 | ||
14 | isAttached = false; | 18 | isAttached = false; |
@@ -16,26 +20,43 @@ export default class Service { | |||
16 | @observable isActive = false; // Is current webview active | 20 | @observable isActive = false; // Is current webview active |
17 | 21 | ||
18 | @observable name = ''; | 22 | @observable name = ''; |
23 | |||
19 | @observable unreadDirectMessageCount = 0; | 24 | @observable unreadDirectMessageCount = 0; |
25 | |||
20 | @observable unreadIndirectMessageCount = 0; | 26 | @observable unreadIndirectMessageCount = 0; |
21 | 27 | ||
22 | @observable order = 99; | 28 | @observable order = 99; |
29 | |||
23 | @observable isEnabled = true; | 30 | @observable isEnabled = true; |
31 | |||
24 | @observable isMuted = false; | 32 | @observable isMuted = false; |
33 | |||
25 | @observable team = ''; | 34 | @observable team = ''; |
35 | |||
26 | @observable customUrl = ''; | 36 | @observable customUrl = ''; |
37 | |||
27 | @observable isNotificationEnabled = true; | 38 | @observable isNotificationEnabled = true; |
39 | |||
28 | @observable isBadgeEnabled = true; | 40 | @observable isBadgeEnabled = true; |
41 | |||
29 | @observable isIndirectMessageBadgeEnabled = true; | 42 | @observable isIndirectMessageBadgeEnabled = true; |
43 | |||
30 | @observable iconUrl = ''; | 44 | @observable iconUrl = ''; |
45 | |||
31 | @observable hasCustomUploadedIcon = false; | 46 | @observable hasCustomUploadedIcon = false; |
47 | |||
32 | @observable hasCrashed = false; | 48 | @observable hasCrashed = false; |
49 | |||
33 | @observable isDarkModeEnabled = false; | 50 | @observable isDarkModeEnabled = false; |
51 | |||
34 | @observable spellcheckerLanguage = null; | 52 | @observable spellcheckerLanguage = null; |
35 | 53 | ||
36 | @observable isFirstLoad = true; | 54 | @observable isFirstLoad = true; |
55 | |||
37 | @observable isLoading = true; | 56 | @observable isLoading = true; |
57 | |||
38 | @observable isError = false; | 58 | @observable isError = false; |
59 | |||
39 | @observable errorMessage = ''; | 60 | @observable errorMessage = ''; |
40 | 61 | ||
41 | constructor(data, recipe) { | 62 | constructor(data, recipe) { |