Revert "refactor: Avoid unnecessary bool comparison"

This reverts commit 1cd3a91037.
This commit is contained in:
Christian Kußowski 2026-02-20 17:12:53 +01:00
commit a9a8b39465
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
14 changed files with 24 additions and 22 deletions

View file

@ -161,7 +161,8 @@ class BootstrapDialogState extends State<BootstrapDialog> {
Widget body = const Center(child: CircularProgressIndicator.adaptive());
titleText = L10n.of(context).loadingPleaseWait;
if (bootstrap.newSsssKey?.recoveryKey != null && _recoveryKeyStored) {
if (bootstrap.newSsssKey?.recoveryKey != null &&
_recoveryKeyStored == false) {
final key = bootstrap.newSsssKey!.recoveryKey;
titleText = L10n.of(context).recoveryKey;
return LoginScaffold(