Skip to content

Commit

Permalink
Removed <50
Browse files Browse the repository at this point in the history
  • Loading branch information
Corwin-Kh committed Nov 29, 2024
1 parent 736cff9 commit 1baaa84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ class VehicleMetricsPlugin(app: OsmandApplication) : OsmandPlugin(app), OBDReadS
var isNan = (data is Float) && data.isNaN()
isNan = isNan || (data is Double) && data.isNaN()
if (isNan) {
return if (computerWidget.type == OBDDataComputer.OBDTypeWidget.FUEL_LEFT_KM) ">50" else "<50"
return "-"
}
}
val convertedData = when (computerWidget.type) {
Expand Down

0 comments on commit 1baaa84

Please sign in to comment.