Skip to content

Commit

Permalink
Removed Update unlock count increament
Browse files Browse the repository at this point in the history
  • Loading branch information
12fahed committed Aug 6, 2024
1 parent 9242101 commit 4302931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_ui/screens/launch_screen/launch_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _LaunchScreenState extends State<LaunchScreen> {
.get();
int unlockedData = snapshot.data()!["unlocked"];
Map<String,dynamic> map = {
"unlocked": ++unlockedData
"unlocked": unlockedData
};
await FirebaseFirestore.instance.collection("Launch").doc('launch').update(map);

Expand Down

0 comments on commit 4302931

Please sign in to comment.