Skip to content

Commit

Permalink
#731: Update change log for v2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenadair committed Oct 13, 2022
1 parent 1924bf9 commit b13c5b4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 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 @@ -1041,5 +1041,10 @@ Map<String, Map<String, String>> get englishStrings => {
"changeLog_2.1.3_4": "Free users will no longer see ads",
"changeLog_2.1.5_1":
"Improved efficiency of report calculations, which results in a smoother user experience",
"changeLog_2.1.6_1": "Fishing spot coordinates are now editable",
"changeLog_2.1.6_2": "Improved backup and restore error messages",
"changeLog_2.1.6_3": "Fixed issue where sometimes fishing spot \"Directions\" button didn't work",
"changeLog_2.1.6_4": "Fixed issue where the photo gallery would sometimes appear empty",
"changeLog_2.1.6_5": "Fixed several crashes",
},
};
10 changes: 10 additions & 0 deletions mobile/lib/i18n/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2064,6 +2064,16 @@ class Strings {
String get changeLog_213_4 => _string("changeLog_2.1.3_4");

String get changeLog_215_1 => _string("changeLog_2.1.5_1");

String get changeLog_216_1 => _string("changeLog_2.1.6_1");

String get changeLog_216_2 => _string("changeLog_2.1.6_2");

String get changeLog_216_3 => _string("changeLog_2.1.6_3");

String get changeLog_216_4 => _string("changeLog_2.1.6_4");

String get changeLog_216_5 => _string("changeLog_2.1.6_5");
}

class StringsDelegate extends LocalizationsDelegate<Strings> {
Expand Down
23 changes: 20 additions & 3 deletions mobile/lib/pages/onboarding/change_log_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class ChangeLogPage extends StatelessWidget {
),
),
const VerticalSpace(paddingDefault),
_build2_1_4(context),
_build2_1_6(context),
_build2_1_5(context),
_build2_1_3(context),
_build2_1_2(context),
_build2_1_0(context),
Expand All @@ -42,10 +43,26 @@ class ChangeLogPage extends StatelessWidget {
);
}

Widget _build2_1_4(BuildContext context) {
Widget _build2_1_6(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.1.5")),
title: Text(_buildVersionText(context, "2.1.6")),
isExpanded: true,
children: [
_buildChangeList({
Strings.of(context).changeLog_216_1,
Strings.of(context).changeLog_216_2,
Strings.of(context).changeLog_216_3,
Strings.of(context).changeLog_216_4,
Strings.of(context).changeLog_216_5,
}),
],
);
}

Widget _build2_1_5(BuildContext context) {
return ExpansionListItem(
title: Text(_buildVersionText(context, "2.1.5")),
isExpanded: false,
children: [
_buildChangeList({
Strings.of(context).changeLog_215_1,
Expand Down

0 comments on commit b13c5b4

Please sign in to comment.