Files
tatuchat/lib/pages/bootstrap/view_model/bootstrap_state.dart
Welton Moura 0037b0b9cf
Some checks failed
Main Deploy Workflow / deploy_web (push) Has been cancelled
Main Deploy Workflow / deploy_playstore_internal (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Initial commit
2026-09-11 15:59:56 -03:00

36 lines
1.0 KiB
Dart

// SPDX-FileCopyrightText: 2019-Present Christian Kußowski
// SPDX-FileCopyrightText: 2019-Present Contributors to FluffyChat
//
// SPDX-License-Identifier: AGPL-3.0-or-later
import 'package:matrix/encryption.dart';
import 'package:matrix/matrix.dart';
class BootstrapViewModelState {
String? recoveryKey;
bool isLoading = false;
Object? unlockWithError;
({
bool connected,
bool crossSigningEnabled,
bool initialized,
bool keyBackupEnabled,
})?
cryptoIdentityState;
bool reset = false;
KeyVerification? keyVerification;
List<DeviceKeys>? connectedDevices;
bool obscureText = true;
bool waitingForSecrets = false;
bool noSecretsreceived = false;
bool newPassphraseEqualsRepeatPassphrase = false;
bool newPassphraseLongEnough = false;
bool newPassphraseUpperAndLowerCase = false;
bool newPassphraseSpecialCharacters = false;
bool newPassphraseNumbers = false;
bool passphraseOrRecoveryKeyEntered = false;
bool recoveryKeyDownloaded = false;
bool recoveryKeyStoredInSecureStorage = false;
}