Make sure you can show secret if you scanned

This commit is contained in:
Dennis Fokin 2022-04-04 12:17:14 +02:00
parent 7219ddb9c4
commit 6b84c2a6dc
No known key found for this signature in database
GPG Key ID: 870B88256690D8BC

View File

@ -192,7 +192,7 @@ class _OathAddAccountPageState extends ConsumerState<OathAddAccountPage> {
errorText: _validateSecretLength && !secretLengthValid
? 'Invalid length'
: null),
enabled: _qrState != _QrScanState.success,
readOnly: _qrState == _QrScanState.success,
onChanged: (value) {
setState(() {
_validateSecretLength = false;