From 210bb80f2c49f6a166a8adc602a68b7490d5d23a Mon Sep 17 00:00:00 2001
From: Franco Montenegro <franco.montenegro.ruke@gmail.com>
Date: Thu, 13 Aug 2020 13:59:44 -0300
Subject: [PATCH] Add to tray when closed setting

---
 dist/bundle.es.js         | 2 ++
 src/constants/settings.js | 1 +
 2 files changed, 3 insertions(+)

diff --git a/dist/bundle.es.js b/dist/bundle.es.js
index 3009f54..a0d886a 100644
--- a/dist/bundle.es.js
+++ b/dist/bundle.es.js
@@ -645,6 +645,7 @@ const AUTOPLAY_NEXT = 'autoplay_next';
 const OS_NOTIFICATIONS_ENABLED = 'os_notifications_enabled';
 const AUTO_DOWNLOAD = 'auto_download';
 const AUTO_LAUNCH = 'auto_launch';
+const TO_TRAY_WHEN_CLOSED = 'to_tray_when_closed';
 const SUPPORT_OPTION = 'support_option';
 const HIDE_BALANCE = 'hide_balance';
 const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';
@@ -683,6 +684,7 @@ var settings = /*#__PURE__*/Object.freeze({
   OS_NOTIFICATIONS_ENABLED: OS_NOTIFICATIONS_ENABLED,
   AUTO_DOWNLOAD: AUTO_DOWNLOAD,
   AUTO_LAUNCH: AUTO_LAUNCH,
+  TO_TRAY_WHEN_CLOSED: TO_TRAY_WHEN_CLOSED,
   SUPPORT_OPTION: SUPPORT_OPTION,
   HIDE_BALANCE: HIDE_BALANCE,
   HIDE_SPLASH_ANIMATION: HIDE_SPLASH_ANIMATION,
diff --git a/src/constants/settings.js b/src/constants/settings.js
index 75df8e1..daf8391 100644
--- a/src/constants/settings.js
+++ b/src/constants/settings.js
@@ -22,6 +22,7 @@ export const AUTOPLAY_NEXT = 'autoplay_next';
 export const OS_NOTIFICATIONS_ENABLED = 'os_notifications_enabled';
 export const AUTO_DOWNLOAD = 'auto_download';
 export const AUTO_LAUNCH = 'auto_launch';
+export const TO_TRAY_WHEN_CLOSED = 'to_tray_when_closed';
 export const SUPPORT_OPTION = 'support_option';
 export const HIDE_BALANCE = 'hide_balance';
 export const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';