diff --git a/lib/app/router/main_tabs/main_tab_navigation.dart b/lib/app/router/main_tabs/main_tab_navigation.dart index 91f1ce519..b8fdca71c 100644 --- a/lib/app/router/main_tabs/main_tab_navigation.dart +++ b/lib/app/router/main_tabs/main_tab_navigation.dart @@ -97,25 +97,24 @@ class _BottomNavBarContent extends ConsumerWidget { ), ], ), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: TabItem.values.map((tabItem) { - final isSelected = currentTab == tabItem; - return Expanded( - child: GestureDetector( - behavior: HitTestBehavior.opaque, - onTap: () => onTabPressed(tabItem), - child: Container( - padding: EdgeInsets.only( - top: 9.0.s, - bottom: MediaQuery.of(context).padding.bottom > 0 ? 23.0.s : 9.0.s, + child: SafeArea( + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: TabItem.values.map((tabItem) { + final isSelected = currentTab == tabItem; + return Expanded( + child: GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () => onTabPressed(tabItem), + child: Container( + padding: EdgeInsets.symmetric(vertical: 9.0.s), + color: context.theme.appColors.secondaryBackground, + child: tabItem.getIcon(isSelected: isSelected), ), - color: context.theme.appColors.secondaryBackground, - child: tabItem.getIcon(isSelected: isSelected), ), - ), - ); - }).toList(), + ); + }).toList(), + ), ), ), if (conversationsEditMode && currentTab == TabItem.chat) const ConversationEditBottomBar(),