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 Mar 30, 2023
1 parent ceff830 commit 1ff9271
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 3 deletions.
9 changes: 8 additions & 1 deletion mobile/lib/i18n/english_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,13 @@ Map<String, Map<String, String>> get englishStrings => {
"Fixed a bug where the wrong catches were being shown on the stats page",
"changeLog_2.3.0_5": "Minor UI bug fixes",
"changeLog_2.3.2_1":
"Fixed issue where Trip start and end times could not be set",
"Fixed an issue where trip start and end times could not be set",
"changeLog_2.3.3_1":
"Fixed an issue where trip start and end dates weren't selectable from the \"Manage Fields\" menu",
"changeLog_2.3.3_2": "Some general stability improvements",
"changeLog_2.3.4_1": "You will now be warned when leaving a page without first pressing the \"SAVE\" button",
"changeLog_2.3.4_2": "A trip's manually set start time is now used when fetching atmosphere and weather data",
"changeLog_2.3.4_3": "Fixed an issue where photos didn't show in the gallery when adding a catch",
"changeLog_2.3.4_4": "Fixed an issue where the map wasn't always able to fetch your current location",
},
};
12 changes: 12 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2165,6 +2165,18 @@ class Strings {
String get changeLog_230_5 => _string("changeLog_2.3.0_5");

String get changeLog_232_1 => _string("changeLog_2.3.2_1");

String get changeLog_233_1 => _string("changeLog_2.3.3_1");

String get changeLog_233_2 => _string("changeLog_2.3.3_2");

String get changeLog_234_1 => _string("changeLog_2.3.4_1");

String get changeLog_234_2 => _string("changeLog_2.3.4_2");

String get changeLog_234_3 => _string("changeLog_2.3.4_3");

String get changeLog_234_4 => _string("changeLog_2.3.4_4");
}

class StringsDelegate extends LocalizationsDelegate<Strings> {
Expand Down
38 changes: 37 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,8 @@ class ChangeLogPage extends StatelessWidget {
),
),
const VerticalSpace(paddingDefault),
_build2_3_4(context),
_build2_3_3(context),
_build2_3_2(context),
_build2_3_0(context),
_build2_2_0(context),
Expand All @@ -46,10 +48,44 @@ class ChangeLogPage extends StatelessWidget {
);
}

Widget _build2_3_4(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.3.4")),
isExpanded: true,
children: [
BulletList(
padding: insetsHorizontalDefaultBottomDefault,
items: {
BulletListItem(Strings.of(context).changeLog_234_1),
BulletListItem(Strings.of(context).changeLog_234_2),
BulletListItem(Strings.of(context).changeLog_234_3),
BulletListItem(Strings.of(context).changeLog_234_4),
},
),
],
);
}

Widget _build2_3_3(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.3.3")),
isExpanded: false,
children: [
BulletList(
padding: insetsHorizontalDefaultBottomDefault,
items: {
BulletListItem(Strings.of(context).changeLog_233_1),
BulletListItem(Strings.of(context).changeLog_233_2),
},
),
],
);
}

Widget _build2_3_2(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.3.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.3.3+20230214
version: 2.3.4+20230330
publish_to: none

environment:
Expand Down

0 comments on commit 1ff9271

Please sign in to comment.