You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/21 18:48:44 UTC

[GitHub] [cordova-plugin-statusbar] danielehrhardt commented on issue #148: iOS 13 dark mode default text colour is white

danielehrhardt commented 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();
           }
         }
       }
     }
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org