From 6828fcf0b5778d0b701ce3cfa44e604e1014fd32 Mon Sep 17 00:00:00 2001 From: Aayushmaan Date: Mon, 5 Aug 2024 00:19:26 +0530 Subject: [PATCH] patch: fixes bottom nav background color --- lib/data/constants/env_config.dart | 3 ++- lib/presentation/bottom_navigator/bottom_navigator_screen.dart | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/data/constants/env_config.dart b/lib/data/constants/env_config.dart index cb33130f..ee39f269 100644 --- a/lib/data/constants/env_config.dart +++ b/lib/data/constants/env_config.dart @@ -1,7 +1,8 @@ class EnvironmentConfig { static const String BASE_URL = String.fromEnvironment( 'BASE_URL', - defaultValue: 'https://appetizer.onrender.com', + // + defaultValue: 'https://71ca-103-37-201-175.ngrok-free.app', ); static const String OAUTH_CLIENT_ID = String.fromEnvironment( diff --git a/lib/presentation/bottom_navigator/bottom_navigator_screen.dart b/lib/presentation/bottom_navigator/bottom_navigator_screen.dart index eec9ec32..8319850d 100644 --- a/lib/presentation/bottom_navigator/bottom_navigator_screen.dart +++ b/lib/presentation/bottom_navigator/bottom_navigator_screen.dart @@ -63,6 +63,7 @@ class BottomNavigatorScreen extends StatelessWidget { body: child, bottomNavigationBar: BottomNavigationBar( key: UniqueKey(), + backgroundColor: Colors.white, currentIndex: tabRouter.activeIndex, onTap: (index) { tabRouter.setActiveIndex(index);