Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only show ad info dialog for free users #1773

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

nilsreichardt
Copy link
Member

This PR fixes that we showed the dialog also to plus users. To fix this, we listen to the shouldShowInfoDialog. It's better to transform this to a listenable value because the SubscriptionService will need a short moment to load the user document.

@github-actions github-actions bot added the w: dashboard-page Page that shows a summary of all important things (homeworks, events, etc.). label Oct 16, 2024
Copy link

Visit the preview URL for this PR (updated for commit 59d0731):

https://sharezone-test--pr1773-only-show-ad-info-di-7v05vynp.web.app

(expires Sat, 19 Oct 2024 21:29:16 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b

@nilsreichardt nilsreichardt added this pull request to the merge queue Oct 16, 2024
Merged via the queue into main with commit 48336be Oct 16, 2024
36 checks passed
@nilsreichardt nilsreichardt deleted the only-show-ad-info-dialog-for-free-users branch October 16, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
w: dashboard-page Page that shows a summary of all important things (homeworks, events, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants