From f31b33fadc5974166d982904c54c9b85829bf81b Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Fri, 8 Jul 2022 00:53:07 +0200 Subject: [PATCH] Codestyle --- MacPass/MPPasswordInputController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MacPass/MPPasswordInputController.m b/MacPass/MPPasswordInputController.m index 445020f3..f6747905 100644 --- a/MacPass/MPPasswordInputController.m +++ b/MacPass/MPPasswordInputController.m @@ -326,12 +326,12 @@ - (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;