Skip to content

Commit

Permalink
Merge pull request #256 from 12fahed/main
Browse files Browse the repository at this point in the history
Removed Update unlock count increament
  • Loading branch information
12fahed authored Aug 6, 2024
2 parents 9242101 + 4302931 commit 7f64274
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 7f64274

Please sign in to comment.