Skip to content

Commit

Permalink
#731: Updated change log and version to 2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenadair committed Jul 17, 2023
1 parent 384d13b commit d4d33dc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mobile/lib/i18n/english_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1140,5 +1140,7 @@ Map<String, Map<String, String>> get englishStrings => {
"When adding trips, you are now given the option to automatically set existing fields based on the selected catches",
"changeLog_2.4.1_5":
"Several general stability improvements and crash fixes",
"changeLog_2.4.3_1":
"Fixed inaccurate fetched atmosphere and weather data",
},
};
2 changes: 2 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2218,6 +2218,8 @@ class Strings {
String get changeLog_241_4 => _string("changeLog_2.4.1_4");

String get changeLog_241_5 => _string("changeLog_2.4.1_5");

String get changeLog_243_1 => _string("changeLog_2.4.3_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_4_3(context),
_build2_4_2(context),
_build2_4_0(context),
_build2_3_4(context),
Expand All @@ -50,10 +51,25 @@ class ChangeLogPage extends StatelessWidget {
);
}

Widget _build2_4_3(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.4.3")),
isExpanded: true,
children: [
BulletList(
padding: insetsHorizontalDefaultBottomDefault,
items: {
BulletListItem(Strings.of(context).changeLog_243_1),
},
),
],
);
}

Widget _build2_4_2(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.4.2")),
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.2+20230627
version: 2.4.3+20230717
publish_to: none

environment:
Expand Down

0 comments on commit d4d33dc

Please sign in to comment.