Skip to content

Commit

Permalink
fix: fix NavigationBar background color (#126)
Browse files Browse the repository at this point in the history
closes #126
  • Loading branch information
thiagorocha503 committed Jan 19, 2025
1 parent 88429d1 commit 741535c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/home/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ class _HomePageViewState extends State<HomePageView> {
builder: (context, state) => Visibility(
visible: state.show,
child: NavigationBar(
elevation: 3,
surfaceTintColor: Theme.of(context).colorScheme.primary,
selectedIndex: state.tab.index,
onDestinationSelected: (int index) {
int selectedTab = context.read<HomeCubit>().state.tab.index;
Expand Down

0 comments on commit 741535c

Please sign in to comment.