Skip to content

Commit

Permalink
#731: Update build and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenadair committed Aug 12, 2024
1 parent 100687b commit ae8dadf
Show file tree
Hide file tree
Showing 4 changed files with 25 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 @@ -1317,5 +1317,7 @@ Map<String, Map<String, String>> get englishStrings => {
"changeLog_2.7.0_14": "Fishing spot can now be removed from a catch.",
"changeLog_2.7.0_15": "Exported CSV files now include latitude, longitude, and custom fields columns.",
"changeLog_2.7.0_16": "The \"Skunked\" stamp now says \"Blanked\" for UK users.",
"changeLog_2.7.1_1": "Tide chart now shows y-axis labels in the correct unit.",
"changeLog_2.7.1_2": "Fixed issue where some catch photos would be removed after an app update.",
},
};
4 changes: 4 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2544,6 +2544,10 @@ class Strings {
String get changeLog_270_15 => _string("changeLog_2.7.0_15");

String get changeLog_270_16 => _string("changeLog_2.7.0_16");

String get changeLog_271_1 => _string("changeLog_2.7.1_1");

String get changeLog_271_2 => _string("changeLog_2.7.1_2");
}

class StringsDelegate extends LocalizationsDelegate<Strings> {
Expand Down
19 changes: 18 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_7_1(context),
_build2_7_0(context),
_build2_6_0(context),
_build2_5_2(context),
Expand All @@ -56,10 +57,26 @@ class ChangeLogPage extends StatelessWidget {
);
}

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

Widget _build2_7_0(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.7.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.7.0+2024071601
version: 2.7.1+2024081201
publish_to: none

environment:
Expand Down

0 comments on commit ae8dadf

Please sign in to comment.