GitToTheHub commented on issue #1967:
URL:
https://github.com/apache/cordova-android/issues/1967#issuecomment-4932130361
> 1. We should probably always determine the text colour based on the
`StatusBarBackgroundColor` preference or the last (non-transparent) status bar
background set via JS, even in E2E mode. That would at least provide a way to
set the status bar colour (even if the status bar background isn't visible) to
match the app and automatically determine the contrasting text colour.
I created PR #1971 which removes the `canEdgeToEdge` check in the `execute`
method of the `SystemBarPlugin`. By this a user can dynamically change the
dark/light appearance of the status bar by setting a light or dark status bar
background. For e.g. calling `window.statusbar.setBackgroundColor('white');`
would set a white status bar background, which is not visible in edge-to-edge,
and would lead to a dark appearance of the status bar setting dark text and
icons.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]