From d7c507bb24d42a373a6b68f157170dd28031674a Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Tue, 8 Jan 2019 09:46:19 +0100 Subject: Skip for premium users --- src/features/delayApp/index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/features/delayApp') diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js index 3412ad5d1..d7e8252f3 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js @@ -41,6 +41,11 @@ export default function init(stores) { config.delayDuration = globalConfig.wait !== undefined ? globalConfig.wait : DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.wait; autorun(() => { + if (stores.user.data.isPremium) { + debug('Skipping app delay as user is Premium Supporter'); + return; + } + if (stores.services.all.length === 0) { shownAfterLaunch = true; return; -- cgit v1.2.3-54-g00ecf