diff options
Diffstat (limited to 'src/features/shareFranz')
-rw-r--r-- | src/features/shareFranz/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/shareFranz/index.js b/src/features/shareFranz/index.js index 87deacef4..a39d7a6e6 100644 --- a/src/features/shareFranz/index.js +++ b/src/features/shareFranz/index.js | |||
@@ -3,6 +3,7 @@ import ms from 'ms'; | |||
3 | 3 | ||
4 | import { state as delayAppState } from '../delayApp'; | 4 | import { state as delayAppState } from '../delayApp'; |
5 | import { gaEvent, gaPage } from '../../lib/analytics'; | 5 | import { gaEvent, gaPage } from '../../lib/analytics'; |
6 | import { planSelectionStore } from '../planSelection'; | ||
6 | 7 | ||
7 | export { default as Component } from './Component'; | 8 | export { default as Component } from './Component'; |
8 | 9 | ||
@@ -35,7 +36,7 @@ export default function initialize(stores) { | |||
35 | () => stores.user.isLoggedIn, | 36 | () => stores.user.isLoggedIn, |
36 | () => { | 37 | () => { |
37 | setTimeout(() => { | 38 | setTimeout(() => { |
38 | if (stores.settings.stats.appStarts % 50 === 0) { | 39 | if (stores.settings.stats.appStarts % 50 === 0 && !planSelectionStore.showPlanSelectionOverlay) { |
39 | if (delayAppState.isDelayAppScreenVisible) { | 40 | if (delayAppState.isDelayAppScreenVisible) { |
40 | debug('Delaying share modal by 5 minutes'); | 41 | debug('Delaying share modal by 5 minutes'); |
41 | setTimeout(() => showModal(), ms('5m')); | 42 | setTimeout(() => showModal(), ms('5m')); |