Sfoglia il codice sorgente

Read useTouchId argument successfully

Tom McTiernan 9 anni fa
parent
commit
961ec8c68c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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];