From 1baaa84937634970ef68286e7668c7967e0eb606 Mon Sep 17 00:00:00 2001 From: Corwin-Kh Date: Fri, 29 Nov 2024 18:02:53 +0200 Subject: [PATCH] Removed <50 --- OsmAnd/src/net/osmand/plus/plugins/odb/VehicleMetricsPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/plugins/odb/VehicleMetricsPlugin.kt b/OsmAnd/src/net/osmand/plus/plugins/odb/VehicleMetricsPlugin.kt index a434c6a5d3a..6c952f5914b 100644 --- a/OsmAnd/src/net/osmand/plus/plugins/odb/VehicleMetricsPlugin.kt +++ b/OsmAnd/src/net/osmand/plus/plugins/odb/VehicleMetricsPlugin.kt @@ -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) {