Skip to content

Commit

Permalink
fix: add SafeArea to ZetaNavigationBar (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
ps9310 authored Nov 13, 2024
1 parent 5a785f0 commit aa7a1e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/components/navigation bar/navigation_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ class ZetaNavigationBar extends ZetaStatelessWidget {
border: Border(top: BorderSide(color: colors.borderSubtle)),
),
child: Semantics(
child: child,
child: SafeArea(
child: child,
),
),
);
}
Expand Down Expand Up @@ -246,7 +248,7 @@ class _NavigationItem extends ZetaStatelessWidget {

return Material(
color: colors.surfacePrimary,
child: InkWell(
child: InkResponse(
borderRadius: context.rounded ? Zeta.of(context).radius.rounded : Zeta.of(context).radius.none,
onTap: onTap,
child: Semantics(
Expand Down

0 comments on commit aa7a1e4

Please sign in to comment.