mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
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:
parent
9effac9824
commit
12a7c32826
6 changed files with 7 additions and 6 deletions
|
@ -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(
|
||||||
|
|
|
@ -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: [
|
||||||
|
|
|
@ -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>[
|
||||||
|
|
|
@ -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),
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue