Skip to content

Commit

Permalink
Some comments + minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k committed Jan 6, 2025
1 parent fd6805f commit 70d8b73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ class SmoothCardWithRoundedHeader extends StatelessWidget {
}
}

/// We need this [CustomPainter] to draw the background below the other card
class _SmoothCardWithRoundedHeaderBackgroundPainter extends CustomPainter {
_SmoothCardWithRoundedHeaderBackgroundPainter({
required Color color,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class _AddOtherDetailsPageState extends State<AddOtherDetailsPage> {

@override
Widget build(BuildContext context) {
final Size size = MediaQuery.sizeOf(context);
final AppLocalizations appLocalizations = AppLocalizations.of(context);

return WillPopScope2(
onWillPop: () async => (await _mayExitPage(saving: false), null),
child: SmoothScaffold(
Expand Down Expand Up @@ -85,7 +85,7 @@ class _AddOtherDetailsPageState extends State<AddOtherDetailsPage> {
title: appLocalizations.product_field_website_title,
iconTitle: const Icon(Icons.link),
child: Padding(
padding: EdgeInsetsDirectional.only(
padding: const EdgeInsetsDirectional.only(
bottom: MEDIUM_SPACE,
start: MEDIUM_SPACE,
end: MEDIUM_SPACE,
Expand Down

0 comments on commit 70d8b73

Please sign in to comment.