chore: Follow up settings page

This commit is contained in:
Krille 2023-02-04 21:59:53 +01:00
commit 9c802c905b
2 changed files with 15 additions and 4 deletions

View file

@ -179,6 +179,15 @@ class SettingsController extends State<Settings> {
bool? showChatBackupBanner;
void firstRunBootstrapAction([_]) async {
if (showChatBackupBanner != true) {
showOkAlertDialog(
context: context,
title: L10n.of(context)!.chatBackup,
message: L10n.of(context)!.onlineKeyBackupEnabled,
okLabel: L10n.of(context)!.close,
);
return;
}
await BootstrapDialog(
client: Matrix.of(context).client,
).show(context);