cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: [CB-4355] Localstorage plugin handles options incorrectly (the settings key is specified with upper case chars)
Date Wed, 24 Jul 2013 22:52:13 GMT
Updated Branches:
  refs/heads/master 9d204382f -> 066753fa9


[CB-4355] Localstorage plugin handles options incorrectly (the settings key is specified with
upper case chars)


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

Branch: refs/heads/master
Commit: 066753fa945dcbc546ef5a12321e5472583b9b4b
Parents: 9d20438
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Jul 24 15:52:02 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Jul 24 15:52:02 2013 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVLocalStorage.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/066753fa/CordovaLib/Classes/CDVLocalStorage.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVLocalStorage.m b/CordovaLib/Classes/CDVLocalStorage.m
index 238d680..9dcf5c1 100644
--- a/CordovaLib/Classes/CDVLocalStorage.m
+++ b/CordovaLib/Classes/CDVLocalStorage.m
@@ -35,7 +35,7 @@
 {
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onResignActive)
                                                  name:UIApplicationWillResignActiveNotification
object:nil];
-    BOOL cloudBackup = [@"cloud" isEqualToString : self.commandDelegate.settings[@"BackupWebStorage"]];
+    BOOL cloudBackup = [@"cloud" isEqualToString : self.commandDelegate.settings[[@"BackupWebStorage"
lowercaseString]]];
 
     self.backupInfo = [[self class] createBackupInfoWithCloudBackup:cloudBackup];
 }


Mime
View raw message