From 9ed76b071e19d885b20718a5e701feb181ceb0fa Mon Sep 17 00:00:00 2001 From: poka Date: Sun, 4 Dec 2022 03:24:23 +0100 Subject: [PATCH] improve paddings --- lib/screens/activity.dart | 2 +- lib/screens/certifications.dart | 2 ++ lib/screens/wallet_view.dart | 2 +- lib/widgets/header_profile.dart | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/screens/activity.dart b/lib/screens/activity.dart index 1f98bc3..0fdedd0 100644 --- a/lib/screens/activity.dart +++ b/lib/screens/activity.dart @@ -57,7 +57,7 @@ class ActivityScreen extends StatelessWidget with ChangeNotifier { final duniterIndexer = Provider.of(context, listen: false); if (indexerEndpoint == '') { - Column(children: [ + return Column(children: [ const SizedBox(height: 50), Text( "noNetworkNoHistory".tr(), diff --git a/lib/screens/certifications.dart b/lib/screens/certifications.dart index b38a5b4..67237e7 100644 --- a/lib/screens/certifications.dart +++ b/lib/screens/certifications.dart @@ -27,6 +27,8 @@ class CertificationsScreen extends StatelessWidget { )), body: SafeArea( child: Accordion( + paddingListTop: 10, + paddingListBottom: 10, maxOpenSections: 1, headerBackgroundColorOpened: orangeC, scaleWhenAnimating: true, diff --git a/lib/screens/wallet_view.dart b/lib/screens/wallet_view.dart index 3428281..c76a633 100644 --- a/lib/screens/wallet_view.dart +++ b/lib/screens/wallet_view.dart @@ -108,7 +108,7 @@ class WalletViewScreen extends StatelessWidget { body: SafeArea( child: Column(children: [ HeaderProfile(address: address, username: username), - SizedBox(height: isTall ? 10 : 0), + SizedBox(height: isTall ? 30 : 15), Row(mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ Column(children: [ SizedBox( diff --git a/lib/widgets/header_profile.dart b/lib/widgets/header_profile.dart index 178dd1b..b2da0ef 100644 --- a/lib/widgets/header_profile.dart +++ b/lib/widgets/header_profile.dart @@ -123,14 +123,14 @@ class HeaderProfile extends StatelessWidget { // ), // ), // ), - const SizedBox(height: 55), + // const SizedBox(height: 55), ]), const Spacer(), Column(children: [ ClipOval( child: defaultAvatar(avatarSize), ), - const SizedBox(height: 25), + // const SizedBox(height: 25), ]), ]), ),