From 7c4587f69fe494fbfa59c72a990e9c64d0d99cdd Mon Sep 17 00:00:00 2001 From: Philoul Date: Sat, 11 Dec 2021 13:01:20 +0100 Subject: [PATCH] replace white by light grey for byoda CGM button --- .../androidaps/plugins/general/overview/OverviewFragment.kt | 2 +- app/src/main/res/drawable/ic_byoda.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt index f1629cf10c..d262ea883f 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewFragment.kt @@ -556,7 +556,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList binding.buttonsLayout.calibrationButton.visibility = ((xDripIsBgSource || dexcomIsSource) && actualBG != null && sp.getBoolean(R.string.key_show_calibration_button, true)).toVisibility() if (dexcomIsSource) { binding.buttonsLayout.cgmButton.setCompoundDrawablesWithIntrinsicBounds(null, rh.gd(R.drawable.ic_byoda), null, null) - binding.buttonsLayout.cgmButton.setTextColor(rh.gc(R.color.white)) + binding.buttonsLayout.cgmButton.setTextColor(rh.gc(R.color.colorLightGray)) } else if (xDripIsBgSource) { binding.buttonsLayout.cgmButton.setCompoundDrawablesWithIntrinsicBounds(null, rh.gd(R.drawable.ic_xdrip), null, null) binding.buttonsLayout.cgmButton.setTextColor(rh.gc(R.color.colorCalibrationButton)) diff --git a/app/src/main/res/drawable/ic_byoda.xml b/app/src/main/res/drawable/ic_byoda.xml index 1cb312cfb3..1bf06ca7d8 100644 --- a/app/src/main/res/drawable/ic_byoda.xml +++ b/app/src/main/res/drawable/ic_byoda.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:fillColor="@color/colorLightGray"/>