mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
feat: change NavigationDestinationLabelBehavior
This commit is contained in:
parent
418d96b842
commit
c67661ff65
|
@ -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]);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue