mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
@@ -232,7 +232,8 @@ class MainController extends GetxController
|
|||||||
.toList();
|
.toList();
|
||||||
}
|
}
|
||||||
this.navigationBars = navigationBars;
|
this.navigationBars = navigationBars;
|
||||||
selectedIndex.value = Pref.defaultHomePageIndex;
|
final defPage = Pref.defaultHomePage;
|
||||||
|
selectedIndex.value = navigationBars.indexWhere((e) => e == defPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
void checkDefaultSearch([bool shouldCheck = false]) {
|
void checkDefaultSearch([bool shouldCheck = false]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user