From 001663c91ceda5a9fe7e21dcc7757115d42ff5d2 Mon Sep 17 00:00:00 2001 From: Cohen Adair Date: Mon, 19 Jun 2023 16:43:54 -0500 Subject: [PATCH] #731: Update change log and version and build number --- mobile/lib/i18n/english_strings.dart | 5 +++++ mobile/lib/i18n/strings.dart | 10 +++++++++ .../lib/pages/onboarding/change_log_page.dart | 22 ++++++++++++++++++- mobile/pubspec.yaml | 2 +- 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/mobile/lib/i18n/english_strings.dart b/mobile/lib/i18n/english_strings.dart index 21339bdc..e037f7d6 100644 --- a/mobile/lib/i18n/english_strings.dart +++ b/mobile/lib/i18n/english_strings.dart @@ -1128,5 +1128,10 @@ Map> get englishStrings => { "changeLog_2.4.0_4": "Added \"Sunny\" as a sky condition", "changeLog_2.4.0_5": "Note fields can now include blank lines", "changeLog_2.4.0_6": "Note fields are no longer truncated to 4 lines", + "changeLog_2.4.1_1": "Fixed a crash while fetching atmosphere and weather data", + "changeLog_2.4.1_2": "Fixed a rare crash while adding a catch", + "changeLog_2.4.1_3": "Fixed an issue where the fishing spot was reset while adding a catch", + "changeLog_2.4.1_4": "A trip's catches per species, bait, and fishing spot will now only update after selecting catches if they weren't already set", + "changeLog_2.4.1_5": "Several general stability improvements and crash fixes", }, }; diff --git a/mobile/lib/i18n/strings.dart b/mobile/lib/i18n/strings.dart index 0ff4de4f..c0ff8263 100644 --- a/mobile/lib/i18n/strings.dart +++ b/mobile/lib/i18n/strings.dart @@ -2203,6 +2203,16 @@ class Strings { String get changeLog_240_5 => _string("changeLog_2.4.0_5"); String get changeLog_240_6 => _string("changeLog_2.4.0_6"); + + String get changeLog_241_1 => _string("changeLog_2.4.1_1"); + + String get changeLog_241_2 => _string("changeLog_2.4.1_2"); + + String get changeLog_241_3 => _string("changeLog_2.4.1_3"); + + String get changeLog_241_4 => _string("changeLog_2.4.1_4"); + + String get changeLog_241_5 => _string("changeLog_2.4.1_5"); } class StringsDelegate extends LocalizationsDelegate { diff --git a/mobile/lib/pages/onboarding/change_log_page.dart b/mobile/lib/pages/onboarding/change_log_page.dart index 05324df0..4c58672a 100644 --- a/mobile/lib/pages/onboarding/change_log_page.dart +++ b/mobile/lib/pages/onboarding/change_log_page.dart @@ -33,6 +33,7 @@ class ChangeLogPage extends StatelessWidget { ), ), const VerticalSpace(paddingDefault), + _build2_4_1(context), _build2_4_0(context), _build2_3_4(context), _build2_3_3(context), @@ -49,10 +50,29 @@ class ChangeLogPage extends StatelessWidget { ); } + Widget _build2_4_1(BuildContext context) { + return ExpansionListItem( + title: Text(_buildVersionText(context, "2.4.1")), + isExpanded: true, + children: [ + BulletList( + padding: insetsHorizontalDefaultBottomDefault, + items: { + BulletListItem(Strings.of(context).changeLog_241_1), + BulletListItem(Strings.of(context).changeLog_241_2), + BulletListItem(Strings.of(context).changeLog_241_3), + BulletListItem(Strings.of(context).changeLog_241_4), + BulletListItem(Strings.of(context).changeLog_241_5), + }, + ), + ], + ); + } + Widget _build2_4_0(BuildContext context) { return ExpansionListItem( title: Text(_buildVersionText(context, "2.4.0")), - isExpanded: true, + isExpanded: false, children: [ BulletList( padding: insetsHorizontalDefaultBottomDefault, diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 23066581..f2c9b251 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -10,7 +10,7 @@ description: Track, analyze, and share your catches in the sport of fishing. # # Both numbers must be incremented for Android. DO NOT add any suffix to the date, such as ".2". The # period will be removed on Google Play and builds with lower numbers cannot be uploaded. -version: 2.4.0+20230506 +version: 2.4.1+20230619 publish_to: none environment: