Skip to content

Commit

Permalink
#731: Update change log and version and build number
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenadair committed Jun 19, 2023
1 parent 2e20f40 commit 001663c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
5 changes: 5 additions & 0 deletions mobile/lib/i18n/english_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1128,5 +1128,10 @@ Map<String, Map<String, String>> 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",
},
};
10 changes: 10 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Strings> {
Expand Down
22 changes: 21 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_4_1(context),
_build2_4_0(context),
_build2_3_4(context),
_build2_3_3(context),
Expand All @@ -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,
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.4.0+20230506
version: 2.4.1+20230619
publish_to: none

environment:
Expand Down

0 comments on commit 001663c

Please sign in to comment.