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

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