nijakobius commented on issue #256:
URL: 
https://github.com/apache/cordova-plugin-statusbar/issues/256#issuecomment-1295190043

   Okay damn, this way I cannot change the color of the status bar text via 
JavaScript. I use something like this:
   ```
   if(theme == 'dark') {
       StatusBar.styleLightContent(); // White text if the background is light
   } else {
       StatusBar.styleDefault(); // Black text if the background is dark
   }
   ```
   ...to change the text color depending on the app's dark/light mode theme.


-- 
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]

Reply via email to