CAKE-252 | UI fixed for buttons on the restore_from_backup_page.dart, restore_wallet_from_seed_page.dart, wallet_restore_from_keys_form.dart, wallet_restore_from_seed_form.dart, wallet_restore_page.dart, wallet_list_page.dart

This commit is contained in:
OleksandrSobol 2021-02-01 20:27:16 +02:00
parent 9effac9824
commit 12a7c32826
6 changed files with 7 additions and 6 deletions

View file

@ -40,7 +40,7 @@ class RestoreFromBackupPage extends BasePage {
}); });
return Container( return Container(
padding: EdgeInsets.only(bottom: 30, left: 25, right: 25), padding: EdgeInsets.only(bottom: 24, left: 24, right: 24),
child: Column(children: [ child: Column(children: [
Expanded( Expanded(
child: Container( child: Container(

View file

@ -82,7 +82,7 @@ class RestoreWalletFromSeedPage extends BasePage {
activeDotColor: Theme.of(context).hintColor), activeDotColor: Theme.of(context).hintColor),
)), )),
Padding( Padding(
padding: EdgeInsets.only(top: 20, bottom: 40, left: 25, right: 25), padding: EdgeInsets.only(top: 20, bottom: 24, left: 24, right: 24),
child: PrimaryButton( child: PrimaryButton(
text: S.of(context).restore_recover, text: S.of(context).restore_recover,
isDisabled: false, isDisabled: false,
@ -158,7 +158,7 @@ class _RestoreFromSeedFormState extends State<RestoreFromSeedForm> {
onTap: () => onTap: () =>
SystemChannels.textInput.invokeMethod<void>('TextInput.hide'), SystemChannels.textInput.invokeMethod<void>('TextInput.hide'),
child: Container( child: Container(
padding: EdgeInsets.only(left: 25, right: 25), padding: EdgeInsets.only(left: 24, right: 24),
// color: Colors.blue, // color: Colors.blue,
// height: 300, // height: 300,
child: Column(children: [ child: Column(children: [

View file

@ -44,7 +44,7 @@ class WalletRestoreFromKeysFromState extends State<WalletRestoreFromKeysFrom> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
padding: EdgeInsets.only(left: 25, right: 25), padding: EdgeInsets.only(left: 24, right: 24),
child: Form( child: Form(
key: formKey, key: formKey,
child: Column(children: <Widget>[ child: Column(children: <Widget>[

View file

@ -49,7 +49,7 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
padding: EdgeInsets.only(left: 25, right: 25), padding: EdgeInsets.only(left: 24, right: 24),
child: Column(children: [ child: Column(children: [
SeedWidget( SeedWidget(
key: seedWidgetStateKey, language: language, type: widget.type), key: seedWidgetStateKey, language: language, type: widget.type),

View file

@ -130,7 +130,7 @@ class WalletRestorePage extends BasePage {
activeDotColor: Theme.of(context).hintColor), activeDotColor: Theme.of(context).hintColor),
)), )),
Padding( Padding(
padding: EdgeInsets.only(top: 20, bottom: 40, left: 25, right: 25), padding: EdgeInsets.only(top: 20, bottom: 24, left: 24, right: 24),
child: Observer( child: Observer(
builder: (context) { builder: (context) {
return LoadingPrimaryButton( return LoadingPrimaryButton(

View file

@ -161,6 +161,7 @@ class WalletListBodyState extends State<WalletListBody> {
}), }),
), ),
), ),
bottomSectionPadding: EdgeInsets.only(bottom: 24, right: 24, left: 24),
bottomSection: Column(children: <Widget>[ bottomSection: Column(children: <Widget>[
PrimaryImageButton( PrimaryImageButton(
onPressed: () => Navigator.of(context).pushNamed(Routes.newWalletType), onPressed: () => Navigator.of(context).pushNamed(Routes.newWalletType),