Skip to content

Commit

Permalink
✨ 거리, 런닝시간 폰트 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghanJu committed Sep 21, 2023
1 parent cd7e19a commit 6fbe8c6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,13 +537,14 @@ fun RunningInfoScreen(
)
Row(verticalAlignment = Alignment.Bottom) {
Text(
modifier = Modifier.padding(start = 4.dp),
text = "%.2f".format(
state.runningResultInfoState.getDataOrNull()?.distance?.div(1000.toDouble())
?: state.runningInfoState.getDataOrNull()?.distance?.div(1000.toDouble())
?: 0.00,
),
fontWeight = FontWeight.Bold,
fontSize = 20.sp,
fontSize = 32.sp,
)
Text(
modifier = Modifier.padding(bottom = 2.dp),
Expand All @@ -570,7 +571,7 @@ fun RunningInfoScreen(
?: state.runningInfoState.getDataOrNull()?.runningTime?.toRunningTime()
?: "00:00:00",
fontWeight = FontWeight.Bold,
fontSize = 20.sp,
fontSize = 32.sp,
)
}
}
Expand Down

0 comments on commit 6fbe8c6

Please sign in to comment.