remove Expanded widget from restore wallet view

resolves gray screen on Windows in release mode
This commit is contained in:
sneurlax 2024-02-29 18:44:38 -06:00
parent bdc06db4ee
commit 3a5a886e7a

View file

@ -724,15 +724,10 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
],
),
body: Container(
color: Theme.of(context).extension<StackColors>()!.background,
child: Padding(
padding: const EdgeInsets.all(12.0),
child: ConditionalParent(
condition: isDesktop,
builder: (child) => Expanded(
child: child,
),
child: SingleChildScrollView(
color: Theme.of(context).extension<StackColors>()!.background,
child: Padding(
padding: const EdgeInsets.all(12.0),
child: SingleChildScrollView(
controller: controller,
child: Column(
children: [
@ -1203,7 +1198,6 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
),
),
),
),
);
);
}
}