Skip to content

Commit

Permalink
Make the navigation bar a little more compact between the icons and t…
Browse files Browse the repository at this point in the history
…he labels.
  • Loading branch information
j-fbriere committed May 3, 2024
1 parent 128489c commit 053d8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/home/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class ScaffoldWithBottomNavigationState extends State<ScaffoldWithBottomNavigati
labelBehavior: showTabLabels
? NavigationDestinationLabelBehavior.alwaysShow
: NavigationDestinationLabelBehavior.alwaysHide,
height: PrefService.of(context).get(optionHomeShowTabLabels) ? 80 : 40,
height: PrefService.of(context).get(optionHomeShowTabLabels) ? 70 : 40,
destinations: [
..._pages.map((e) => NavigationDestination(icon: Icon(e.icon, size: 22), label: e.titleBuilder(context)))
],
Expand Down

0 comments on commit 053d8e8

Please sign in to comment.