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

fix: disable shadow if needed #516

Merged
merged 1 commit into from May 18, 2020
Merged

Conversation

WoLewicki
Copy link
Member

mAppBarLayout is created on every screen change so we need to check if the shadow shouldn't be disabled. This method is needed here since the if clause in setToolbarShadowHidden will return false e.g. when going back to the previous screen.

@WoLewicki WoLewicki requested a review from kmagiera May 18, 2020 12:09
@WoLewicki WoLewicki merged commit b1f9fdd into master May 18, 2020
@WoLewicki WoLewicki deleted the @wolewicki/disable-shadow branch May 18, 2020 12:13
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

2 participants