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