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

Added option to show bottom sheet instead of dialog #89

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

rosenpin
Copy link

@rosenpin rosenpin commented Aug 21, 2023

Added the setBottomSheet function that causes the initial rating dialog to pop up as a bottom sheet instead of as a dialog.
Bottom sheets are less intrusive and more in line with Google's own rating library so I figured it would be a good fit.

Screenshot_20230821_114241_awesome-app-rating Example App

P.S.
I have 2 other branches that are based on this one in my fork
https://github.com/rosenpin/awesome-app-rating/tree/feature/skip-prompt
https://github.com/rosenpin/awesome-app-rating/tree/feature/confirm-on-rating-selected

It would have been better to separate them so I could open 3 PRs but this bottom sheet one caused some relatively significant changes in the DialogManager class and I wanted to avoid later conflicts.
So for now, I will wait for this PR to be merged before opening the 2 other PRs.

@rosenpin rosenpin changed the title Feature/bottom sheet dialog Added option to show bottom sheet instead of dialog Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant