This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: sample app bug

+7 -1
+7 -1
sample/composeApp/src/commonMain/kotlin/com/nate/posedetection/App.kt
··· 325 325 Box(modifier = modifier.fillMaxSize()) { 326 326 buildTimeMs?.let { ms -> 327 327 val seconds = ms / 1000.0 328 + // Format to one decimal place in commonMain (multiplatform) without 329 + // relying on platform-specific String.format. 330 + val display = (seconds * 10).roundToLong() / 10.0 328 331 androidx.compose.material3.Text( 329 - text = "Build time: %.1fs".format(seconds), 332 + text = "Build time: ${display}s", 330 333 modifier = Modifier.align(androidx.compose.ui.Alignment.TopCenter) 331 334 .padding(top = 8.dp), 332 335 style = androidx.compose.material3.MaterialTheme.typography.titleMedium, 333 336 ) 337 + // Ensure the lambda returns Unit explicitly so Kotlin can infer the 338 + // type parameter R of `let` in this composable context. 339 + Unit 334 340 } 335 341 if (savedPath != null) { 336 342 val playerHost = remember {