diff options
author | 2019-10-15 21:40:14 +0200 | |
---|---|---|
committer | 2019-10-15 21:40:14 +0200 | |
commit | 91a0fb20ef02dfa342cf26df3e047b2bd4370b9f (patch) | |
tree | f411b3d7d83a24b015a2a1ed723df2e2a324cc0c /src/features/shareFranz/index.js | |
parent | Optimize button width (diff) | |
download | ferdium-app-91a0fb20ef02dfa342cf26df3e047b2bd4370b9f.tar.gz ferdium-app-91a0fb20ef02dfa342cf26df3e047b2bd4370b9f.tar.zst ferdium-app-91a0fb20ef02dfa342cf26df3e047b2bd4370b9f.zip |
simplify plan selection
Diffstat (limited to 'src/features/shareFranz/index.js')
-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')); |