-
Notifications
You must be signed in to change notification settings - Fork 17
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(android): fix infinite loop by calling setDecorFitsSystemWindows
more strictly
#36
Conversation
This works much better for me! |
Hmm... interesting. I don't see that behavior when the app is put in the background and reopened... I wonder if the fix is to implement |
Thanks @NaterGator that fixes my issue perfectly! I'm not sure why it was happening, but it's probably another plugin I'm using at the same time that might be interfering somehow, like @capacitor/status-bar |
android/src/main/java/com/getcapacitor/community/safearea/SafeArea.kt
Outdated
Show resolved
Hide resolved
android/src/main/java/com/getcapacitor/community/safearea/SafeArea.kt
Outdated
Show resolved
Hide resolved
484fd40
to
f7d280d
Compare
setDecorFitsSystemWindows
more strictly
This fixes #35 and I believe should fix #25 as well.