round pressure values to integers in PressureHourlyCard.kt

This commit is contained in:
PranshulGG committed 2026-06-30 09:26:34 +05:30
1 parent 842db00f21
commit c8d9bf058f
1 file changed
+1 -5
@@ -163,11 +163,7 @@ fun PressureHourlyCard(
}
Gap(5.dp)
Text(
formatLocalizedNumber(
locale = getCurrentAppLocale(),
number = formatter(item.pressureMsl)!!,
decimalPlaces = 1
),
item.pressureMsl.roundToInt().toString(),
color = MaterialTheme.colorScheme.primary,
style = MaterialTheme.typography.titleMedium,
fontWeight = FontWeight.Bold