mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-21 18:43:03 -05:00
round pressure values to integers in PressureHourlyCard.kt
This commit is contained in:
1 parent
842db00f21
commit
c8d9bf058f
1 file changed
+1
-5
+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
|
||||
|
||||
Reference in new issue
Block a user