Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit c43ee64

Browse files
committed
possibly fix nav
1 parent 1247326 commit c43ee64

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/main.dart

+9-9
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,15 @@ class _TModInstallerPageState extends State<TModInstallerPage> {
209209
)
210210
: null,
211211
displayMode: appTheme.displayMode,
212-
// indicatorBuilder: () {
213-
// switch (appTheme.indicator) {
214-
// case NavigationIndicators.end:
215-
// return NavigationIndicator.end;
216-
// case NavigationIndicators.sticky:
217-
// default:
218-
// return NavigationIndicator.sticky;
219-
// }
220-
// }(),
212+
indicatorBuilder: () {
213+
switch (appTheme.indicator) {
214+
case NavigationIndicators.end:
215+
return NavigationIndicator.end;
216+
case NavigationIndicators.sticky:
217+
default:
218+
return NavigationIndicator.sticky;
219+
}
220+
}(),
221221
items: [
222222
...versions.map(
223223
(e) => PaneItem(

0 commit comments

Comments
 (0)