From ca5f610dcb2de609b555611def6aa5b12f438884 Mon Sep 17 00:00:00 2001 From: bogdan <1926167@stud.hs-mannheim.de> Date: Sat, 3 Jun 2023 00:51:26 +0200 Subject: [PATCH] speed up main page --- .dart_tool/package_config.json | 2 +- lib/android/pages/nav_pages/main_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index fcc8cd9..fe9846a 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -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" } diff --git a/lib/android/pages/nav_pages/main_page.dart b/lib/android/pages/nav_pages/main_page.dart index 787738c..1c51891 100644 --- a/lib/android/pages/nav_pages/main_page.dart +++ b/lib/android/pages/nav_pages/main_page.dart @@ -25,7 +25,7 @@ class MainPageState extends State { int currentIndex = 0; - void onTap(int index) { + void onTap(int index) async { setState(() { currentIndex = index; if (currentIndex == 1) {