fix: column design for bootstrap
This commit is contained in:
parent
741d4ddba3
commit
eca3905e0c
|
@ -1,4 +1,5 @@
|
|||
import 'package:adaptive_dialog/adaptive_dialog.dart';
|
||||
import 'package:fluffychat/widgets/layouts/one_page_card.dart';
|
||||
import 'package:matrix/encryption.dart';
|
||||
import 'package:matrix/encryption/utils/bootstrap.dart';
|
||||
import 'package:matrix/matrix.dart';
|
||||
|
@ -91,7 +92,8 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
|
|||
_recoveryKeyStored == false) {
|
||||
final key = bootstrap.newSsssKey.recoveryKey;
|
||||
titleText = L10n.of(context).securityKey;
|
||||
return Scaffold(
|
||||
return OnePageCard(
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.close),
|
||||
|
@ -126,6 +128,7 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
|
|||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
switch (bootstrap.state) {
|
||||
|
@ -158,7 +161,8 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
|
|||
break;
|
||||
case BootstrapState.openExistingSsss:
|
||||
_recoveryKeyStored = true;
|
||||
return Scaffold(
|
||||
return OnePageCard(
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.close),
|
||||
|
@ -262,6 +266,7 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
|
|||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
case BootstrapState.askWipeCrossSigning:
|
||||
WidgetsBinding.instance.addPostFrameCallback(
|
||||
|
|
Loading…
Reference in New Issue