From 8d5006ba34561a66681584cd22c32cd9eb390173 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Fri, 22 Oct 2021 14:59:09 +0200 Subject: [PATCH] Added support for type changes --- MacPass/MPTOTPSetupViewController.m | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/MacPass/MPTOTPSetupViewController.m b/MacPass/MPTOTPSetupViewController.m index 414ae3ac..2cf38774 100644 --- a/MacPass/MPTOTPSetupViewController.m +++ b/MacPass/MPTOTPSetupViewController.m @@ -61,25 +61,10 @@ typedef NS_ENUM(NSUInteger, MPOTPType) { } - (IBAction)changeType:(id)sender { - /* if(sender != self.typePopUpButton) { return; // wrong sender } - MPOTPType type = self.typePopUpButton.selectedItem.tag; - switch(type) { - case MPOTPTypeRFC: - case MPOTPTypeSteam: - self.algorithmPopUpButton.enabled = NO; - self.digitCountPopUpButton.enabled = NO; - self.timeStepStepper.enabled = NO; - break; - case MPOTPTypeCustom: - self.algorithmPopUpButton.enabled = YES; - self.digitCountPopUpButton.enabled = YES; - self.timeStepStepper.enabled = YES; - } [self _updateView:MPOTPUpdateSourceType]; - */ } - (IBAction)changeHashAlgorithm:(id)sender {