diff --git a/lib/view_model/set_up_2fa_viewmodel.dart b/lib/view_model/set_up_2fa_viewmodel.dart index 96a0c4a20..0b4b614ab 100644 --- a/lib/view_model/set_up_2fa_viewmodel.dart +++ b/lib/view_model/set_up_2fa_viewmodel.dart @@ -96,9 +96,7 @@ abstract class Setup2FAViewModelBase with Store { @action void _setBase32SecretKey(String value) { - if (_settingsStore.totpSecretKey == '') { - _settingsStore.totpSecretKey = value; - } + _settingsStore.totpSecretKey = value; } @action