Bugfix: Status bar does not update when a sheet is presented on Android#281
Conversation
|
Hi @marcprux, I’m happy to help or make additional adjustments if needed to get this merged :) |
|
Apologies for not following-up on this. This method (similar to the improvement you contributed at skiptools/skipapp-showcase#50) does work, but I wonder if it might be better to use the ModalBottomSheetProperties's Let us know what you think. If |
|
Hi @marcprux, thanks for your feedback! I looked into this and tried to implement the behavior using the Therefore, I suggest sticking with the current solution using the What do you think? |
|
WDYT @aabewhite? |
Currently, when a sheet is presented on Android, the status bar style does not update accordingly. Instead of using black icons / text in light mode and white icons / text in dark mode, the icons always use the light mode variant, making the status bar basically invisible in dark mode.
Steps to Reproduce:
=> The status bar icons always use the light mode variant (dark icons / text) and do not adapt to the system theme ⚡
This PR solves the issue by updating the status bar style of the dialog window that presents the sheet depending on the current system appearance (similar to this PR).
Example (Before):

Example (After):

Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.
Skip Pull Request Checklist:
swift test