From c0f5ca778a06f822a0f8839e9182491405c32a7a Mon Sep 17 00:00:00 2001 From: dan63047 Date: Mon, 6 Jan 2025 01:34:40 +0300 Subject: [PATCH] achievement fix, better to release those fixes now --- lib/views/destination_home.dart | 2 +- pubspec.yaml | 2 +- web/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/views/destination_home.dart b/lib/views/destination_home.dart index e45a0c7..e85bfbf 100644 --- a/lib/views/destination_home.dart +++ b/lib/views/destination_home.dart @@ -1249,7 +1249,7 @@ class _DestinationHomeState extends State with SingleTickerProv snapshot.data!.summaries!.achievements.firstWhere((e) => e.k == 45), snapshot.data!.summaries!.achievements.firstWhere((e) => e.k == 46), snapshot.data!.summaries!.achievements.firstWhere((e) => e.k == 51), - snapshot.data!.summaries!.achievements.firstWhere((e) => e.k == 54), + if (snapshot.data!.summaries!.achievements.any((e) => e.k == 54)) snapshot.data!.summaries!.achievements.firstWhere((e) => e.k == 54), ] : []; List qpExAchievements = snapshot.data!.summaries!.achievements.isNotEmpty ? [ snapshot.data!.summaries!.achievements.firstWhere((e) => e.k == 19), diff --git a/pubspec.yaml b/pubspec.yaml index ffffff0..867915a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: tetra_stats description: Track your and other player stats in TETR.IO publish_to: 'none' -version: 2.0.1+42 +version: 2.0.2+43 environment: sdk: '>=3.0.0' diff --git a/web/index.html b/web/index.html index cfca8f3..c9472ad 100644 --- a/web/index.html +++ b/web/index.html @@ -131,7 +131,7 @@ } - +