Merge pull request #788 from cypherstack/ui

Remove Expanded widget from restore wallet view
This commit is contained in:
Diego Salazar 2024-02-29 15:53:37 -07:00 committed by GitHub
commit b7cb9ab3d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -724,15 +724,10 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
], ],
), ),
body: Container( body: Container(
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( child: SingleChildScrollView(
condition: isDesktop,
builder: (child) => Expanded(
child: child,
),
child: SingleChildScrollView(
controller: controller, controller: controller,
child: Column( child: Column(
children: [ children: [
@ -1203,7 +1198,6 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
), ),
), ),
), ),
), );
);
} }
} }