diff options
author | 2021-09-13 11:26:19 +0530 | |
---|---|---|
committer | 2021-09-13 11:26:19 +0530 | |
commit | b1e08639bebae31873e1916a785d79d29cf5dbd6 (patch) | |
tree | a66066e463be2f8f1fcd026d22fdd99760cd0885 /src/lib/Tray.js | |
parent | 5.6.2-nightly.2 [skip ci] (diff) | |
download | ferdium-app-b1e08639bebae31873e1916a785d79d29cf5dbd6.tar.gz ferdium-app-b1e08639bebae31873e1916a785d79d29cf5dbd6.tar.zst ferdium-app-b1e08639bebae31873e1916a785d79d29cf5dbd6.zip |
Better implementation of confirmation while quitting Ferdi (#1919)
Remove duplication and reuse method to return typesafe boolean from settings.
Better fix for #1879
Diffstat (limited to 'src/lib/Tray.js')
-rw-r--r-- | src/lib/Tray.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Tray.js b/src/lib/Tray.js index f5970f7e7..7360611cd 100644 --- a/src/lib/Tray.js +++ b/src/lib/Tray.js | |||
@@ -10,6 +10,7 @@ const INDICATOR_TRAY_PLAIN = 'tray'; | |||
10 | const INDICATOR_TRAY_UNREAD = 'tray-unread'; | 10 | const INDICATOR_TRAY_UNREAD = 'tray-unread'; |
11 | const INDICATOR_TRAY_INDIRECT = 'tray-indirect'; | 11 | const INDICATOR_TRAY_INDIRECT = 'tray-indirect'; |
12 | 12 | ||
13 | // TODO: Need to support i18n for a lot of the hard-coded strings in this file | ||
13 | export default class TrayIcon { | 14 | export default class TrayIcon { |
14 | trayIcon = null; | 15 | trayIcon = null; |
15 | 16 | ||