refactor: Always open Chat Backup as page right after login

This commit is contained in:
Christian Kußowski 2025-11-22 14:58:07 +01:00
commit 31a204f1ea
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
8 changed files with 95 additions and 69 deletions

View file

@ -28,7 +28,6 @@ import '../../../utils/account_bundles.dart';
import '../../config/setting_keys.dart';
import '../../utils/url_launcher.dart';
import '../../widgets/matrix.dart';
import '../bootstrap/bootstrap_dialog.dart';
enum PopupMenuAction {
settings,
@ -754,15 +753,6 @@ class ChatListController extends State<ChatList>
setState(() {
waitForFirstSync = true;
});
// Display first login bootstrap if enabled
if (client.encryption?.keyManager.enabled == true) {
if (await client.encryption?.keyManager.isCached() == false ||
await client.encryption?.crossSigning.isCached() == false ||
client.isUnknownSession && !mounted) {
await BootstrapDialog(client: client).show(context);
}
}
}
if (!mounted) return;
setState(() {