remove useless verification for non-null type
This commit is contained in:
parent
fb62dd37e2
commit
31e1d75fe0
@ -191,7 +191,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
xAxis.apply {
|
xAxis.apply {
|
||||||
position = XAxis.XAxisPosition.BOTTOM
|
position = XAxis.XAxisPosition.BOTTOM
|
||||||
valueFormatter = object : ValueFormatter() {
|
valueFormatter = object : ValueFormatter() {
|
||||||
override fun getFormattedValue(value: Float): String? {
|
override fun getFormattedValue(value: Float): String {
|
||||||
return "${value.toInt()}s"
|
return "${value.toInt()}s"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user