refactor: Avoid unnecessary bool comparison
This commit is contained in:
parent
d08364688e
commit
1cd3a91037
15 changed files with 26 additions and 25 deletions
|
|
@ -161,8 +161,7 @@ class BootstrapDialogState extends State<BootstrapDialog> {
|
|||
Widget body = const Center(child: CircularProgressIndicator.adaptive());
|
||||
titleText = L10n.of(context).loadingPleaseWait;
|
||||
|
||||
if (bootstrap.newSsssKey?.recoveryKey != null &&
|
||||
_recoveryKeyStored == false) {
|
||||
if (bootstrap.newSsssKey?.recoveryKey != null && _recoveryKeyStored) {
|
||||
final key = bootstrap.newSsssKey!.recoveryKey;
|
||||
titleText = L10n.of(context).recoveryKey;
|
||||
return LoginScaffold(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue