From f17937a3af240c12e78474370e1f60cfbe658e1b Mon Sep 17 00:00:00 2001 From: Prashant Sawant Date: Tue, 12 Nov 2024 15:23:45 -0500 Subject: [PATCH] fix: add SafeArea to ZetaNavigationBar --- lib/src/components/navigation bar/navigation_bar.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/components/navigation bar/navigation_bar.dart b/lib/src/components/navigation bar/navigation_bar.dart index 3e820713..b342a72e 100644 --- a/lib/src/components/navigation bar/navigation_bar.dart +++ b/lib/src/components/navigation bar/navigation_bar.dart @@ -172,7 +172,9 @@ class ZetaNavigationBar extends ZetaStatelessWidget { border: Border(top: BorderSide(color: colors.borderSubtle)), ), child: Semantics( - child: child, + child: SafeArea( + child: child, + ), ), ); } @@ -232,7 +234,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(