Merge pull request #525 from PoweRGbg/patch-5

Added profile's target BG in NSClient mode
This commit is contained in:
Milos Kozak 2017-12-08 08:20:37 +01:00 committed by GitHub
commit e8c3a0cf91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -975,9 +975,6 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
tempTargetView.setText(Profile.toTargetRangeString(profile.getTargetLow(), profile.getTargetHigh(), units, units));
tempTargetView.setVisibility(View.VISIBLE);
}
if ((Config.NSCLIENT || Config.G5UPLOADER) && tempTarget == null) {
tempTargetView.setVisibility(View.GONE);
}
// **** Temp button ****
if (acceptTempLayout != null) {