chore: Adjust settings account design

This commit is contained in:
Krille Fear 2021-10-14 16:57:01 +02:00
commit 24a2494829
3 changed files with 11 additions and 17 deletions

View file

@ -92,8 +92,8 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
_recoveryKeyStored == false) {
final key = bootstrap.newSsssKey.recoveryKey;
titleText = L10n.of(context).securityKey;
return AlertDialog(
title: AppBar(
return Scaffold(
appBar: AppBar(
centerTitle: true,
leading: IconButton(
icon: Icon(Icons.close),
@ -101,7 +101,7 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
),
title: Text(L10n.of(context).securityKey),
),
content: Center(
body: Center(
child: ConstrainedBox(
constraints:
BoxConstraints(maxWidth: FluffyThemes.columnWidth * 1.5),