From 4302931d169e2fb13089aebbc94584d68ab107e0 Mon Sep 17 00:00:00 2001 From: Fahed Khan <127182880+12fahed@users.noreply.github.com> Date: Wed, 7 Aug 2024 00:31:49 +0530 Subject: [PATCH] Removed Update unlock count increament --- lib/new_ui/screens/launch_screen/launch_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/new_ui/screens/launch_screen/launch_screen.dart b/lib/new_ui/screens/launch_screen/launch_screen.dart index 7ea66fe..3f4b91b 100644 --- a/lib/new_ui/screens/launch_screen/launch_screen.dart +++ b/lib/new_ui/screens/launch_screen/launch_screen.dart @@ -67,7 +67,7 @@ class _LaunchScreenState extends State { .get(); int unlockedData = snapshot.data()!["unlocked"]; Map map = { - "unlocked": ++unlockedData + "unlocked": unlockedData }; await FirebaseFirestore.instance.collection("Launch").doc('launch').update(map);