danielehrhardt edited a comment on issue #148: iOS 13 dark mode default text 
colour is white
URL: 
https://github.com/apache/cordova-plugin-statusbar/issues/148#issuecomment-576824250
 
 
   > Has anyone tried this in Xcode 11.3.1? I tried all of the mentioned 
solutions and none of them worked for me
   ```
   
   async setStatusBar() {
       if (this.platform.is('cordova')) {
         this.statusBar.overlaysWebView(true);
   
         if (this.platform.is('ios')) {
           if (await this.getDarkMode()) {
             this.statusBar.styleLightContent();
           } else {
             this.statusBar.styleLightContent();
           }
         }
   
         if (this.platform.is('android')) {
           if (await this.getDarkMode()) {
             this.statusBar.styleLightContent();
           } else {
             this.statusBar.styleLightContent();
           }
         }
       }
     }
   ```
   
   https://github.com/codextde/cordova-plugin-statusbar-color-fix

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to