cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject git commit: Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist
Date Mon, 07 Oct 2013 22:24:02 GMT
Updated Branches:
  refs/heads/plugins ecfd5659e -> 0f054fe29


Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist


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

Branch: refs/heads/plugins
Commit: 0f054fe29f7024924c1ebef71e6e7171379e0348
Parents: ecfd565
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

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


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/0f054fe2/statusbar/plugin.xml
----------------------------------------------------------------------
diff --git a/statusbar/plugin.xml b/statusbar/plugin.xml
index d4c937a..7653bdf 100644
--- a/statusbar/plugin.xml
+++ b/statusbar/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-labs/blob/0f054fe2/statusbar/src/ios/CDVStatusBar.m
----------------------------------------------------------------------
diff --git a/statusbar/src/ios/CDVStatusBar.m b/statusbar/src/ios/CDVStatusBar.m
index 0809d24..bccb012 100644
--- a/statusbar/src/ios/CDVStatusBar.m
+++ b/statusbar/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