diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt index c5d267de73..4895dc48c8 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt @@ -355,7 +355,7 @@ class AutotuneFragment : DaggerFragment() { } } binding.calcDays.text = calcDays.toString() - binding.calcDays.visibility = (daysBack != calcDays).toVisibility() + binding.calcDays.visibility = if (daysBack == calcDays) View.INVISIBLE else View.VISIBLE binding.tuneLastrun.text = dateUtil.dateAndTimeString(autotunePlugin.lastRun) showResults() }