Skip to content

Commit 7a821b0

Browse files
committed
fix(profile): remove top safe area
AppBar already does it.
1 parent 7d1dcfa commit 7a821b0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/features/profile/view/profile_page.dart

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -644,13 +644,7 @@ class _ProfilePageState extends State<ProfilePage> {
644644

645645
return Scaffold(
646646
appBar: appBar,
647-
body: SafeArea(
648-
child: ColoredBox(
649-
// FIXME: Remove workaround for page background issue.
650-
color: Theme.of(context).colorScheme.surface,
651-
child: body,
652-
),
653-
),
647+
body: ColoredBox(color: Theme.of(context).colorScheme.surface, child: SafeArea(top: false, child: body)),
654648
);
655649
},
656650
),

0 commit comments

Comments
 (0)