feat: change NavigationDestinationLabelBehavior #458

Merged
inex merged 2 commits from subtitles_for_menu_options into master 2024-02-08 17:18:29 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class _BottomBar extends StatelessWidget {
),
child: NavigationBar(
selectedIndex: prevActiveIndex == -1 ? 0 : prevActiveIndex,
labelBehavior: NavigationDestinationLabelBehavior.onlyShowSelected,
labelBehavior: NavigationDestinationLabelBehavior.alwaysShow,
onDestinationSelected: (final index) {
context.router.replaceAll([destinations[index].route]);
},