mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-27 13:15:51 +01:00
EN: Display 0 RPIs as none in graph
This commit is contained in:
parent
6afcca0396
commit
7601b37ee4
@ -72,7 +72,7 @@ class ExposureNotificationsRpisFragment : PreferenceFragmentCompat() {
|
||||
}
|
||||
histogramCategory.title = getString(R.string.prefcat_exposure_rpis_histogram_title, totalRpiCount)
|
||||
histogram.labelsFormatter = { it.roundToInt().toString() }
|
||||
histogram.scale = Scale(0f, rpiHistogram.values.max() ?: 0f)
|
||||
histogram.scale = Scale(0f, rpiHistogram.values.max()?.coerceAtLeast(0.1f) ?: 0.1f)
|
||||
histogram.data = rpiHistogram
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user