mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +02:00
fix: Use onSurface color
This commit is contained in:
parent
3aa4caf9ed
commit
750f6dc212
@ -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)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user