···325325 Box(modifier = modifier.fillMaxSize()) {
326326 buildTimeMs?.let { ms ->
327327 val seconds = ms / 1000.0
328328+ // Format to one decimal place in commonMain (multiplatform) without
329329+ // relying on platform-specific String.format.
330330+ val display = (seconds * 10).roundToLong() / 10.0
328331 androidx.compose.material3.Text(
329329- text = "Build time: %.1fs".format(seconds),
332332+ text = "Build time: ${display}s",
330333 modifier = Modifier.align(androidx.compose.ui.Alignment.TopCenter)
331334 .padding(top = 8.dp),
332335 style = androidx.compose.material3.MaterialTheme.typography.titleMedium,
333336 )
337337+ // Ensure the lambda returns Unit explicitly so Kotlin can infer the
338338+ // type parameter R of `let` in this composable context.
339339+ Unit
334340 }
335341 if (savedPath != null) {
336342 val playerHost = remember {