From 6b84c2a6dc0695cbc2f6f81a51c7a8b80a8e97dd Mon Sep 17 00:00:00 2001 From: Dennis Fokin Date: Mon, 4 Apr 2022 12:17:14 +0200 Subject: [PATCH] Make sure you can show secret if you scanned --- lib/oath/views/add_account_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oath/views/add_account_page.dart b/lib/oath/views/add_account_page.dart index 0675bf70..129a409d 100755 --- a/lib/oath/views/add_account_page.dart +++ b/lib/oath/views/add_account_page.dart @@ -192,7 +192,7 @@ class _OathAddAccountPageState extends ConsumerState { errorText: _validateSecretLength && !secretLengthValid ? 'Invalid length' : null), - enabled: _qrState != _QrScanState.success, + readOnly: _qrState == _QrScanState.success, onChanged: (value) { setState(() { _validateSecretLength = false;