mirror of
https://github.com/MacPass/MacPass.git
synced 2026-01-30 20:28:19 +00:00
Codestyle
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user