Skip to content

Commit

Permalink
#731: Update change log and version/build numbers
Browse files Browse the repository at this point in the history
cohenadair committed Oct 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 060fb25 commit 401de69
Showing 4 changed files with 33 additions and 2 deletions.
4 changes: 4 additions & 0 deletions mobile/lib/i18n/english_strings.dart
Original file line number Diff line number Diff line change
@@ -1166,5 +1166,9 @@ Map<String, Map<String, String>> 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",
},
};
8 changes: 8 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
@@ -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<Strings> {
21 changes: 20 additions & 1 deletion mobile/lib/pages/onboarding/change_log_page.dart
Original file line number Diff line number Diff line change
@@ -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,
2 changes: 1 addition & 1 deletion mobile/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 401de69

Please sign in to comment.