cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [06/35] git commit: Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist
Date Thu, 13 Mar 2014 19:58:35 GMT
Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist



Project: http://git-wip-us.apache.org/repos/asf/cordova-statusbar/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-statusbar/commit/c42b57e4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-statusbar/tree/c42b57e4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-statusbar/diff/c42b57e4

Branch: refs/heads/master
Commit: c42b57e4dc4ed883cc1b7b4de14b6c346765def3
Parents: 690de48
Author: Shazron Abdullah <shazron@apache.org>
Authored: Mon Oct 7 15:23:55 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Mon Oct 7 15:23:55 2013 -0700

----------------------------------------------------------------------
 plugin.xml             | 1 -
 src/ios/CDVStatusBar.m | 5 -----
 2 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-statusbar/blob/c42b57e4/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index d4c937a..7653bdf 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -26,7 +26,6 @@
             </feature>
             <preference name="StatusBarOverlaysWebView" value="true" />
             <preference name="StatusBarBackgroundColor" value="#000000" />
-            <preference name="StatusBarStyle" value="lightContent" /> <!-- default,
lightContent, blackTranslucent, blackOpaque -->
         </config-file>
         
         <!-- add this manually for now, crash bug - see https://issues.apache.org/jira/browse/CB-5012

http://git-wip-us.apache.org/repos/asf/cordova-statusbar/blob/c42b57e4/src/ios/CDVStatusBar.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m
index 0809d24..bccb012 100644
--- a/src/ios/CDVStatusBar.m
+++ b/src/ios/CDVStatusBar.m
@@ -60,11 +60,6 @@
     if ([self settingForKey:setting]) {
         [self _statusBarBackgroundColorByHexString:[self settingForKey:setting]];
     }
-    
-    setting  = @"StatusBarStyle";
-    if ([self settingForKey:setting]) {
-        [self setStatusBarStyle:[self settingForKey:setting]];
-    }
 }
 
 - (void) setStatusBarOverlaysWebView:(BOOL)statusBarOverlaysWebView


Mime
View raw message