From 401de694367319aecbc49b060775351a70034ac1 Mon Sep 17 00:00:00 2001 From: Cohen Adair Date: Thu, 19 Oct 2023 17:31:19 -0500 Subject: [PATCH] #731: Update change log and version/build numbers --- mobile/lib/i18n/english_strings.dart | 4 ++++ mobile/lib/i18n/strings.dart | 8 +++++++ .../lib/pages/onboarding/change_log_page.dart | 21 ++++++++++++++++++- mobile/pubspec.yaml | 2 +- 4 files changed, 33 insertions(+), 2 deletions(-) diff --git a/mobile/lib/i18n/english_strings.dart b/mobile/lib/i18n/english_strings.dart index 7f985bbb..9f26f13f 100644 --- a/mobile/lib/i18n/english_strings.dart +++ b/mobile/lib/i18n/english_strings.dart @@ -1166,5 +1166,9 @@ Map> get englishStrings => { "Fixed an issue where location couldn't be read from photos", "changeLog_2.5.1_1": "Fixed an issue where non-US locales couldn't change their measurement units", + "changeLog_2.5.2_1": "Automatic backups are now triggered on catch, trip, and bait changes", + "changeLog_2.5.2_2": "Fixed duplicate negative sign on tide heights", + "changeLog_2.5.2_3": "Fixed an issue where custom reports weren't tappable after upgrading to Pro", + "changeLog_2.5.2_4": "Fixed empty catch length/weight values showing on stats catch lists", }, }; diff --git a/mobile/lib/i18n/strings.dart b/mobile/lib/i18n/strings.dart index edadeffb..57abbcec 100644 --- a/mobile/lib/i18n/strings.dart +++ b/mobile/lib/i18n/strings.dart @@ -2261,6 +2261,14 @@ class Strings { String get changeLog_250_5 => _string("changeLog_2.5.0_5"); String get changeLog_251_1 => _string("changeLog_2.5.1_1"); + + String get changeLog_252_1 => _string("changeLog_2.5.2_1"); + + String get changeLog_252_2 => _string("changeLog_2.5.2_2"); + + String get changeLog_252_3 => _string("changeLog_2.5.2_3"); + + String get changeLog_252_4 => _string("changeLog_2.5.2_4"); } 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 1079cd1d..1ad660ee 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_5_2(context), _build2_5_1(context), _build2_5_0(context), _build2_4_3(context), @@ -53,10 +54,28 @@ class ChangeLogPage extends StatelessWidget { ); } + Widget _build2_5_2(BuildContext context) { + return ExpansionListItem( + title: Text(_buildVersionText(context, "2.5.2")), + isExpanded: true, + children: [ + BulletList( + padding: insetsHorizontalDefaultBottomDefault, + items: { + BulletListItem(Strings.of(context).changeLog_252_1), + BulletListItem(Strings.of(context).changeLog_252_2), + BulletListItem(Strings.of(context).changeLog_252_3), + BulletListItem(Strings.of(context).changeLog_252_4), + }, + ), + ], + ); + } + Widget _build2_5_1(BuildContext context) { return ExpansionListItem( title: Text(_buildVersionText(context, "2.5.1")), - isExpanded: true, + isExpanded: false, children: [ BulletList( padding: insetsHorizontalDefaultBottomDefault, diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 73282e06..f1ea4cfa 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.5.1+20230819 +version: 2.5.2+2023101901 publish_to: none environment: