Skip to content

Commit

Permalink
Merge pull request #505 from rokwire/release/v2.9.7+907
Browse files Browse the repository at this point in the history
Release/v2.9.7+907
  • Loading branch information
sandeep-ps authored Jan 26, 2021
2 parents acb9ad2 + e365e6c commit 68cf601
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [2.9.7] - 2021-1-26
- Updated order of panel shown during onboarding [#503](https://github.com/rokwire/safer-illinois-app/issues/503)
- Apply nextStepDate in local time when making the calculations for displayNextStepDate.

## [2.9.6] - 2021-1-22
### Fixed
- Updated Onboarding Disclosure Panel text. [#497](https://github.com/rokwire/safer-illinois-app/issues/497)
Expand Down
4 changes: 2 additions & 2 deletions assets/flexUI.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"content": {
"onboarding": ["get_started", "organization", "notifications_auth", "location_auth", "bluetooth_auth", "roles", "login_netid", "login_phone", "verify_phone", "confirm_phone",
"covid19_intro", "covid19_how_it_works", "health_disclosure", "covid19_consent", "covid19_qrcode", "covid19_final"],
"onboarding": ["get_started", "organization", "health_disclosure", "notifications_auth", "location_auth", "bluetooth_auth", "roles", "login_netid", "login_phone", "verify_phone", "confirm_phone",
"covid19_intro", "covid19_how_it_works", "covid19_consent", "covid19_qrcode", "covid19_final"],

"settings": ["user_info", "connect", "customizations", "connected", "notifications", "covid19", "privacy", "account", "feedback"],
"settings.connect": ["netid", "phone"],
Expand Down
10 changes: 2 additions & 8 deletions lib/model/Health.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class Covid19StatusBlob {

String displayNextStepDate({String format = _nextStepDateFormat}) {
if (nextStepDateUtc != null) {
DateTime nextStepMidnightLocal = AppDateTime.midnight(nextStepDateUtc);
DateTime nextStepMidnightLocal = AppDateTime.midnight(nextStepDateUtc.toLocal());
if (nextStepMidnightLocal == AppDateTime.todayMidnightLocal) {
return Localization().getStringEx('model.explore.time.today', 'Today').toLowerCase();
}
Expand Down Expand Up @@ -391,13 +391,7 @@ class Covid19History {
}

DateTime get dateMidnightLocal {
if (dateUtc != null) {
DateTime dateLocal = dateUtc.toLocal();
return DateTime(dateLocal.year, dateLocal.month, dateLocal.day);
}
else {
return null;
}
return (dateUtc != null) ? AppDateTime.midnight(dateUtc.toLocal()) : null;
}

bool matchEvent(Covid19Event event) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Illinois client application.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.9.6+906
version: 2.9.7+907

environment:
sdk: ">=2.2.0 <3.0.0"
Expand Down

0 comments on commit 68cf601

Please sign in to comment.