From 5414c86854ce0ff5b56bc3676a6602199a0756b3 Mon Sep 17 00:00:00 2001 From: robin-qwerty Date: Sat, 31 Aug 2024 11:17:21 +0200 Subject: [PATCH] first release --- lib/main.dart | 7 ++++--- pubspec.lock | 8 -------- pubspec.yaml | 1 - 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 0bd4794..c7cf7df 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -39,7 +39,7 @@ class _HomePageState extends State { // Define exercises with repetitions for each level final Map> _exerciseDetails = { - 'Death in a round': {1: '3 push-ups', 2: '5 push-ups'}, + 'Death in a round': {1: '2 push-ups', 2: '5 push-ups'}, 'Choked a 1v1': {1: '5 burpees', 2: '10 burpees'}, 'Team kill': {1: '8 burpees', 2: '15 burpees'}, 'Lost a match': {1: '10 sit-ups', 2: '15 sit-ups'}, @@ -53,7 +53,7 @@ class _HomePageState extends State { }; final Map> _exerciseRepetitions = { - 'Death in a round': {1: 3, 2: 5}, + 'Death in a round': {1: 2, 2: 5}, 'Choked a 1v1': {1: 5, 2: 10}, 'Team kill': {1: 8, 2: 15}, 'Lost a match': {1: 10, 2: 15}, @@ -351,7 +351,8 @@ class _HomePageState extends State { int total = _calculateTotal(event, level, count); // Fetch exercise description from _exerciseDetails - String description = _exerciseDetails[event]?[level] ?? 'Description not available'; + String description = _exerciseDetails[event]?[level] ?? + 'Description not available'; return ListTile( contentPadding: const EdgeInsets.symmetric( diff --git a/pubspec.lock b/pubspec.lock index c64fd58..16a4813 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -75,14 +75,6 @@ packages: description: flutter source: sdk version: "0.0.0" - intl: - dependency: "direct main" - description: - name: intl - sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf - url: "https://pub.dev" - source: hosted - version: "0.19.0" leak_tracker: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 62d9900..ee80ad5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -38,7 +38,6 @@ dependencies: sqflite: ^2.0.0+3 path: ^1.8.0 provider: ^6.0.3 - intl: ^0.19.0 dev_dependencies: flutter_test: