mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-24 03:26:38 +00:00
CAKE-252 | UI fixed for buttons on the backup_page.dart, edit_backup_password_page.dart and new_wallet_type_page.dart
This commit is contained in:
parent
0774ce18ca
commit
9effac9824
3 changed files with 45 additions and 48 deletions
|
@ -35,7 +35,7 @@ class BackupPage extends BasePage {
|
|||
children: [
|
||||
Center(
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(left: 20, right: 20),
|
||||
padding: EdgeInsets.only(left: 24, right: 24),
|
||||
height: 300,
|
||||
child: Column(children: [
|
||||
Text(
|
||||
|
@ -78,9 +78,9 @@ class BackupPage extends BasePage {
|
|||
text: S.of(context).export_backup,
|
||||
color: Theme.of(context).accentTextTheme.body2.color,
|
||||
textColor: Colors.white)),
|
||||
bottom: 30,
|
||||
left: 20,
|
||||
right: 20,
|
||||
bottom: 24,
|
||||
left: 24,
|
||||
right: 24,
|
||||
)
|
||||
],
|
||||
);
|
||||
|
|
|
@ -25,7 +25,7 @@ class EditBackupPasswordPage extends BasePage {
|
|||
@override
|
||||
Widget body(BuildContext context) {
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(left: 20, right: 20),
|
||||
padding: EdgeInsets.only(left: 24, right: 24),
|
||||
child: Stack(
|
||||
fit: StackFit.expand,
|
||||
children: [
|
||||
|
@ -48,7 +48,7 @@ class EditBackupPasswordPage extends BasePage {
|
|||
color: Theme.of(context).accentTextTheme.body2.color,
|
||||
textColor: Colors.white,
|
||||
isDisabled: !editBackupPasswordViewModel.canSave)),
|
||||
bottom: 30,
|
||||
bottom: 24,
|
||||
left: 0,
|
||||
right: 0)
|
||||
],
|
||||
|
|
|
@ -75,9 +75,7 @@ class WalletTypeFormState extends State<WalletTypeForm> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(top: 24, bottom: 24),
|
||||
child: ScrollableWithBottomSection(
|
||||
return ScrollableWithBottomSection(
|
||||
contentPadding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
|
||||
content: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
|
@ -118,7 +116,6 @@ class WalletTypeFormState extends State<WalletTypeForm> {
|
|||
textColor: Colors.white,
|
||||
isDisabled: selected == null,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue