Skip to content

Commit

Permalink
#731: Update version and change log
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenadair committed Aug 19, 2023
1 parent fcd8d61 commit e048d43
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
5 changes: 4 additions & 1 deletion mobile/lib/i18n/english_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1155,13 +1155,16 @@ Map<String, Map<String, String>> 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",
"changeLog_2.5.0_4":
"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",
},
};
2 changes: 2 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Strings> {
Expand Down
18 changes: 17 additions & 1 deletion mobile/lib/pages/onboarding/change_log_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion mobile/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e048d43

Please sign in to comment.