remove explicit colors
Co-authored-by: Tibo De Peuter <Tibo.DePeuter@UGent.be>
This commit is contained in:
parent
2476ebbab1
commit
9457fa97d2
1 changed files with 1 additions and 6 deletions
|
@ -16,12 +16,7 @@ fun BasicTextButton(@StringRes text: Int, modifier: Modifier, action: () -> Unit
|
||||||
fun BasicButton(@StringRes text: Int, modifier: Modifier, action: () -> Unit) {
|
fun BasicButton(@StringRes text: Int, modifier: Modifier, action: () -> Unit) {
|
||||||
Button(
|
Button(
|
||||||
onClick = action,
|
onClick = action,
|
||||||
modifier = modifier,
|
modifier = modifier
|
||||||
colors =
|
|
||||||
ButtonDefaults.buttonColors(
|
|
||||||
backgroundColor = MaterialTheme.colors.primary,
|
|
||||||
contentColor = MaterialTheme.colors.onPrimary
|
|
||||||
)
|
|
||||||
) {
|
) {
|
||||||
Text(text = stringResource(text), fontSize = 16.sp)
|
Text(text = stringResource(text), fontSize = 16.sp)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue