aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Tray.js
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-09-13 11:26:19 +0530
committerLibravatar GitHub <noreply@github.com>2021-09-13 11:26:19 +0530
commitb1e08639bebae31873e1916a785d79d29cf5dbd6 (patch)
treea66066e463be2f8f1fcd026d22fdd99760cd0885 /src/lib/Tray.js
parent5.6.2-nightly.2 [skip ci] (diff)
downloadferdium-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.js1
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';
10const INDICATOR_TRAY_UNREAD = 'tray-unread'; 10const INDICATOR_TRAY_UNREAD = 'tray-unread';
11const INDICATOR_TRAY_INDIRECT = 'tray-indirect'; 11const INDICATOR_TRAY_INDIRECT = 'tray-indirect';
12 12
13// TODO: Need to support i18n for a lot of the hard-coded strings in this file
13export default class TrayIcon { 14export default class TrayIcon {
14 trayIcon = null; 15 trayIcon = null;
15 16