Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mstarke committed Jul 7, 2022
1 parent 68b8a59 commit f31b33f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MacPass/MPPasswordInputController.m
Original file line number Diff line number Diff line change
Expand Up @@ -326,12 +326,12 @@ - (bool) _touchIdGetEncrypedKeyMaterial: (NSData**) result {
- (IBAction)unlockWithTouchID:(id)sender {
NSData* encryptedKey = NULL;
if(![self _touchIdGetEncrypedKeyMaterial:&encryptedKey]) {
[self.touchIdButton setEnabled:false];
self.touchIdButton.enabled = NO;
return;
}
KPKCompositeKey* compositeKey = [self _touchIdDecryptCompositeKey:encryptedKey];
if(compositeKey == NULL) {
[self.touchIdButton setEnabled:false];
self.touchIdButton.enabled = NO;
return;
}
NSError* error;
Expand Down

0 comments on commit f31b33f

Please sign in to comment.