speed up main page
parent
6505c9948c
commit
ca5f610dcb
|
@ -626,7 +626,7 @@
|
||||||
"languageVersion": "2.19"
|
"languageVersion": "2.19"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"generated": "2023-06-02T22:45:16.476426Z",
|
"generated": "2023-06-02T22:48:24.172799Z",
|
||||||
"generator": "pub",
|
"generator": "pub",
|
||||||
"generatorVersion": "2.19.6"
|
"generatorVersion": "2.19.6"
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ class MainPageState extends State<MainPage> {
|
||||||
|
|
||||||
int currentIndex = 0;
|
int currentIndex = 0;
|
||||||
|
|
||||||
void onTap(int index) {
|
void onTap(int index) async {
|
||||||
setState(() {
|
setState(() {
|
||||||
currentIndex = index;
|
currentIndex = index;
|
||||||
if (currentIndex == 1) {
|
if (currentIndex == 1) {
|
||||||
|
|
Loading…
Reference in New Issue