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