speed up main page

main
Bogdan Kotikov 2023-06-03 00:51:26 +02:00
parent 6505c9948c
commit ca5f610dcb
2 changed files with 2 additions and 2 deletions

View File

@ -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"
} }

View File

@ -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) {