fix: Use onSurface color

This commit is contained in:
Myzel394 2023-12-16 10:55:52 +01:00
parent 3aa4caf9ed
commit 750f6dc212
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -66,7 +66,6 @@ fun QuickMaxDurationSelector(
Button( Button(
onClick = { onClick = {
scope.launch { scope.launch {
// TODO: Add hide to microphone selection
sheetState.hide() sheetState.hide()
onDismiss() onDismiss()
} }
@ -76,14 +75,14 @@ fun QuickMaxDurationSelector(
} }
} }
}, },
colors = ButtonDefaults.textButtonColors(), colors = ButtonDefaults.textButtonColors(
contentColor = MaterialTheme.colorScheme.onSurface,
),
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.height(64.dp), .height(64.dp),
) { ) {
Text( Text(formatDuration(duration))
formatDuration(duration)
)
} }
} }
} }