CAKE-345 | fixed send_card.dart

This commit is contained in:
OleksandrSobol 2021-08-11 17:42:55 +03:00
parent f84c7c9a1c
commit 383d2abcc5

View file

@ -63,7 +63,9 @@ class SendCardState extends State<SendCard>
super.build(context); super.build(context);
_setEffects(context); _setEffects(context);
return KeyboardActions( return Stack(
children: [
KeyboardActions(
config: KeyboardActionsConfig( config: KeyboardActionsConfig(
keyboardActionsPlatform: KeyboardActionsPlatform.IOS, keyboardActionsPlatform: KeyboardActionsPlatform.IOS,
keyboardBarColor: Theme.of(context).accentTextTheme.body2 keyboardBarColor: Theme.of(context).accentTextTheme.body2
@ -81,8 +83,9 @@ class SendCardState extends State<SendCard>
]), ]),
child: Container( child: Container(
height: 0, height: 0,
color: Theme.of(context).backgroundColor, color: Colors.transparent,
child: Container( )),
Container(
height: sendViewModel.isElectrumWallet ? 470 : 445, height: sendViewModel.isElectrumWallet ? 470 : 445,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
@ -435,7 +438,8 @@ class SendCardState extends State<SendCard>
), ),
), ),
) )
)); ],
);
} }
void _setEffects(BuildContext context) { void _setEffects(BuildContext context) {