瀏覽代碼

Read useTouchId argument successfully

Tom McTiernan 9 年之前
父節點
當前提交
961ec8c68c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ios/CDVKeychain.m

+ 1 - 1
src/ios/CDVKeychain.m

@@ -65,7 +65,7 @@
 
     NSString* key = [arguments objectAtIndex:0];
     NSString* value = [arguments objectAtIndex:1];
-    BOOL useTouchID = [arguments objectAtIndex:2];
+    BOOL useTouchID = [[arguments objectAtIndex:2] boolValue];
 
     A0SimpleKeychain *keychain = [A0SimpleKeychain keychain];