aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/delayApp
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-02-25 16:34:18 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-02-25 16:34:18 +0100
commit2d4ee04e874e4420aa940c148c77c977188b9500 (patch)
treea2435b5718f67a6588e5bbb5fd8e82c10fb5c9b4 /src/features/delayApp
parentremove code (diff)
downloadferdium-app-2d4ee04e874e4420aa940c148c77c977188b9500.tar.gz
ferdium-app-2d4ee04e874e4420aa940c148c77c977188b9500.tar.zst
ferdium-app-2d4ee04e874e4420aa940c148c77c977188b9500.zip
Add dialog to share franz on social media
Diffstat (limited to 'src/features/delayApp')
-rw-r--r--src/features/delayApp/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js
index 48aac34b6..abc8274cf 100644
--- a/src/features/delayApp/index.js
+++ b/src/features/delayApp/index.js
@@ -28,8 +28,12 @@ export default function init(stores) {
28 let shownAfterLaunch = false; 28 let shownAfterLaunch = false;
29 let timeLastDelay = moment(); 29 let timeLastDelay = moment();
30 30
31 window.franz.features.delayApp = {
32 state,
33 };
34
31 reaction( 35 reaction(
32 () => stores.features.features.needToWaitToProceed && !stores.user.data.isPremium, 36 () => stores.user.isLoggedIn && stores.features.features.needToWaitToProceed && !stores.user.data.isPremium,
33 (isEnabled) => { 37 (isEnabled) => {
34 if (isEnabled) { 38 if (isEnabled) {
35 debug('Enabling `delayApp` feature'); 39 debug('Enabling `delayApp` feature');