Codestyle

This commit is contained in:
Michael Starke
2022-07-08 00:53:07 +02:00
parent 68b8a5906a
commit f31b33fadc

View File

@@ -326,12 +326,12 @@
- (IBAction)unlockWithTouchID:(id)sender { - (IBAction)unlockWithTouchID:(id)sender {
NSData* encryptedKey = NULL; NSData* encryptedKey = NULL;
if(![self _touchIdGetEncrypedKeyMaterial:&encryptedKey]) { if(![self _touchIdGetEncrypedKeyMaterial:&encryptedKey]) {
[self.touchIdButton setEnabled:false]; self.touchIdButton.enabled = NO;
return; return;
} }
KPKCompositeKey* compositeKey = [self _touchIdDecryptCompositeKey:encryptedKey]; KPKCompositeKey* compositeKey = [self _touchIdDecryptCompositeKey:encryptedKey];
if(compositeKey == NULL) { if(compositeKey == NULL) {
[self.touchIdButton setEnabled:false]; self.touchIdButton.enabled = NO;
return; return;
} }
NSError* error; NSError* error;