diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.java
index add3474652..bc14b6b827 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.java
@@ -1045,8 +1045,8 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
if (deltaShortView != null)
deltaShortView.setText(Profile.toSignedUnitsString(glucoseStatus.delta, glucoseStatus.delta * Constants.MGDL_TO_MMOLL, units));
if (avgdeltaView != null)
- avgdeltaView.setText("øΔ15m: " + Profile.toUnitsString(glucoseStatus.short_avgdelta, glucoseStatus.short_avgdelta * Constants.MGDL_TO_MMOLL, units) +
- " øΔ40m: " + Profile.toUnitsString(glucoseStatus.long_avgdelta, glucoseStatus.long_avgdelta * Constants.MGDL_TO_MMOLL, units));
+ avgdeltaView.setText("øΔ15m: " + Profile.toUnitsString(glucoseStatus.short_avgdelta, glucoseStatus.short_avgdelta * Constants.MGDL_TO_MMOLL, units) + "\n" +
+ "øΔ40m: " + Profile.toUnitsString(glucoseStatus.long_avgdelta, glucoseStatus.long_avgdelta * Constants.MGDL_TO_MMOLL, units));
} else {
if (deltaView != null)
deltaView.setText("Δ " + MainApp.gs(R.string.notavailable));
@@ -1153,28 +1153,28 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
if (activeTemp != null) {
basalText = "T: " + activeTemp.toStringVeryShort();
} else {
- basalText = MainApp.gs(R.string.pump_basebasalrate,profile.getBasal());
+ basalText = MainApp.gs(R.string.pump_basebasalrate, profile.getBasal());
}
- baseBasalView.setOnClickListener(v -> {
- String fullText = MainApp.gs(R.string.pump_basebasalrate_label) + ": " + MainApp.gs(R.string.pump_basebasalrate,profile.getBasal()) + "\n";
- if (activeTemp != null) {
- fullText += MainApp.gs(R.string.pump_tempbasal_label) + ": " + activeTemp.toStringFull();
- }
- OKDialog.show(getActivity(), MainApp.gs(R.string.basal), fullText);
- });
-
} else {
if (activeTemp != null) {
basalText = activeTemp.toStringFull();
} else {
- basalText = MainApp.gs(R.string.pump_basebasalrate,profile.getBasal());
+ basalText = MainApp.gs(R.string.pump_basebasalrate, profile.getBasal());
}
}
baseBasalView.setText(basalText);
+ baseBasalView.setOnClickListener(v -> {
+ String fullText = MainApp.gs(R.string.pump_basebasalrate_label) + ": " + MainApp.gs(R.string.pump_basebasalrate, profile.getBasal()) + "\n";
+ if (activeTemp != null) {
+ fullText += MainApp.gs(R.string.pump_tempbasal_label) + ": " + activeTemp.toStringFull();
+ }
+ OKDialog.show(getActivity(), MainApp.gs(R.string.basal), fullText);
+ });
+
if (activeTemp != null) {
baseBasalView.setTextColor(MainApp.gc(R.color.basal));
} else {
- baseBasalView.setTextColor(MainApp.gc(R.color.defaulttextcolor));
+ baseBasalView.setTextColor(MainApp.gc(R.color.defaulttextcolor));
}
@@ -1191,9 +1191,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
}
}
extendedBolusView.setText(extendedBolusText);
- if (Config.NSCLIENT) {
- extendedBolusView.setOnClickListener(v -> OKDialog.show(getActivity(), MainApp.gs(R.string.extended_bolus), extendedBolus.toString()));
- }
+ extendedBolusView.setOnClickListener(v -> OKDialog.show(getActivity(), MainApp.gs(R.string.extended_bolus), extendedBolus.toString()));
if (extendedBolusText.equals(""))
extendedBolusView.setVisibility(Config.NSCLIENT ? View.INVISIBLE : View.GONE);
else
diff --git a/app/src/main/res/layout/overview_fragment.xml b/app/src/main/res/layout/overview_fragment.xml
index 01d279b925..882f752e1a 100644
--- a/app/src/main/res/layout/overview_fragment.xml
+++ b/app/src/main/res/layout/overview_fragment.xml
@@ -150,22 +150,20 @@
+ android:textSize="14sp"/>