Added support for type changes

This commit is contained in:
Michael Starke
2021-10-22 14:59:09 +02:00
parent 1873032d3c
commit 8d5006ba34

View File

@@ -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 {