From aa7a1e4eff10274f4fb11111a825e21a496522a6 Mon Sep 17 00:00:00 2001 From: Prashant Sawant <75819349+ps9310@users.noreply.github.com> Date: Wed, 13 Nov 2024 07:09:01 -0500 Subject: [PATCH] fix: add SafeArea to ZetaNavigationBar (#211) --- 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 e30f522c..06dfe081 100644 --- a/lib/src/components/navigation bar/navigation_bar.dart +++ b/lib/src/components/navigation bar/navigation_bar.dart @@ -185,7 +185,9 @@ class ZetaNavigationBar extends ZetaStatelessWidget { border: Border(top: BorderSide(color: colors.borderSubtle)), ), child: Semantics( - child: child, + child: SafeArea( + child: child, + ), ), ); } @@ -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(