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