mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 17:39:42 +00:00
Merge pull request 'feat: change NavigationDestinationLabelBehavior' (#458) from subtitles_for_menu_options into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/458 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
27e5abfe4a
|
@ -201,7 +201,7 @@ class _BottomBar extends StatelessWidget {
|
||||||
),
|
),
|
||||||
child: NavigationBar(
|
child: NavigationBar(
|
||||||
selectedIndex: prevActiveIndex == -1 ? 0 : prevActiveIndex,
|
selectedIndex: prevActiveIndex == -1 ? 0 : prevActiveIndex,
|
||||||
labelBehavior: NavigationDestinationLabelBehavior.onlyShowSelected,
|
labelBehavior: NavigationDestinationLabelBehavior.alwaysShow,
|
||||||
onDestinationSelected: (final index) {
|
onDestinationSelected: (final index) {
|
||||||
context.router.replaceAll([destinations[index].route]);
|
context.router.replaceAll([destinations[index].route]);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue