Browse Source

Fix some UX padding consistency

pull/98/head
James Mills 4 months ago
parent
commit
1d12eebce9
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 3
      lib/screens/profile.dart
  2. 2
      lib/screens/settings.dart

3
lib/screens/profile.dart

@ -121,7 +121,6 @@ class _ProfileScreenState extends State<ProfileScreen> {
List<Widget> buildSlivers() {
final vm = context.read<ProfileViewModel>();
return [
SliverAppBar(
title: Text(vm.name!),
@ -130,7 +129,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
),
SliverToBoxAdapter(
child: Padding(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 0),
padding: const EdgeInsets.fromLTRB(16, 32, 16, 0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [

2
lib/screens/settings.dart

@ -140,7 +140,7 @@ class _SettingsBodyState extends State<SettingsBody> {
Widget build(BuildContext context) {
final themeVM = context.watch<ThemeViewModel>();
return ListView(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 32),
padding: const EdgeInsets.fromLTRB(16, 32, 16, 0),
children: [
GestureDetector(
onTap: () {

Loading…
Cancel
Save