Improve Autotune Layout

This commit is contained in:
Philoul 2022-07-04 22:43:50 +02:00
parent e9bd7b0314
commit 7e2d71f132

View file

@ -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()
}