diff --git a/mobile/lib/i18n/english_strings.dart b/mobile/lib/i18n/english_strings.dart index 50199827..7dec6712 100644 --- a/mobile/lib/i18n/english_strings.dart +++ b/mobile/lib/i18n/english_strings.dart @@ -1155,7 +1155,8 @@ Map> get englishStrings => { "Several general stability improvements and crash fixes", "changeLog_2.4.3_1": "Fixed inaccurate fetched atmosphere and weather data", - "changeLog_2.5.0_1": "Tide data can now be fetched from WorldTides\u2122", + "changeLog_2.5.0_1": + "Tide data can now be fetched from WorldTides\u2122", "changeLog_2.5.0_2": "Added \"Evening\" time of day", "changeLog_2.5.0_3": "Fixed an issue where a fishing spot couldn't be added if it was too close to another spot", @@ -1163,5 +1164,7 @@ Map> get englishStrings => { "Fixed an issue inputting decimal values for languages that use commas as separators", "changeLog_2.5.0_5": "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", }, }; diff --git a/mobile/lib/i18n/strings.dart b/mobile/lib/i18n/strings.dart index ef3364f6..0817a441 100644 --- a/mobile/lib/i18n/strings.dart +++ b/mobile/lib/i18n/strings.dart @@ -2259,6 +2259,8 @@ class Strings { String get changeLog_250_4 => _string("changeLog_2.5.0_4"); String get changeLog_250_5 => _string("changeLog_2.5.0_5"); + + String get changeLog_251_1 => _string("changeLog_2.5.1_1"); } 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 dff71457..1079cd1d 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_1(context), _build2_5_0(context), _build2_4_3(context), _build2_4_2(context), @@ -52,10 +53,25 @@ class ChangeLogPage extends StatelessWidget { ); } + Widget _build2_5_1(BuildContext context) { + return ExpansionListItem( + title: Text(_buildVersionText(context, "2.5.1")), + isExpanded: true, + children: [ + BulletList( + padding: insetsHorizontalDefaultBottomDefault, + items: { + BulletListItem(Strings.of(context).changeLog_251_1), + }, + ), + ], + ); + } + Widget _build2_5_0(BuildContext context) { return ExpansionListItem( title: Text(_buildVersionText(context, "2.5.0")), - isExpanded: true, + isExpanded: false, children: [ BulletList( padding: insetsHorizontalDefaultBottomDefault, diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 1dc3e275..73282e06 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.0+20230815 +version: 2.5.1+20230819 publish_to: none environment: