Skip to content

Commit

Permalink
fix(Update Confirmation Sheet): Add top padding
Browse files Browse the repository at this point in the history
Before the "Changelog" or homeView.updateChangelogTitle was almost at the edge of the [DraggableScrollableSheet]

We fix it by adding 12px padding off the top, 12px was chosen because [bottom] padding is using 12px so it would make sense for [top] to be using 12px.
  • Loading branch information
validcube committed Feb 2, 2024
1 parent 8be07de commit 9aeb156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/widgets/homeView/update_confirmation_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class UpdateConfirmationSheet extends StatelessWidget {
),
),
Padding(
padding: const EdgeInsets.only(left: 24.0, bottom: 12.0),
padding: const EdgeInsets.only(top: 12.0, left: 24.0, bottom: 12.0),
child: I18nText(
'homeView.updateChangelogTitle',
child: Text(
Expand Down

0 comments on commit 9aeb156

Please sign in to comment.