From 3a5a886e7a9d394a95e6002fae8b0bb84b0b78c6 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Thu, 29 Feb 2024 18:44:38 -0600 Subject: [PATCH] remove Expanded widget from restore wallet view resolves gray screen on Windows in release mode --- .../restore_wallet_view/restore_wallet_view.dart | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart b/lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart index e025d621b..e9f0442d5 100644 --- a/lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart +++ b/lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart @@ -724,15 +724,10 @@ class _RestoreWalletViewState extends ConsumerState { ], ), body: Container( - color: Theme.of(context).extension()!.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()!.background, + child: Padding( + padding: const EdgeInsets.all(12.0), + child: SingleChildScrollView( controller: controller, child: Column( children: [ @@ -1203,7 +1198,6 @@ class _RestoreWalletViewState extends ConsumerState { ), ), ), - ), - ); + ); } }