diff --git a/app/src/main/java/be/ugent/sel/studeez/common/composable/ButtonComposable.kt b/app/src/main/java/be/ugent/sel/studeez/common/composable/ButtonComposable.kt index 3fec9a4..e174ef2 100644 --- a/app/src/main/java/be/ugent/sel/studeez/common/composable/ButtonComposable.kt +++ b/app/src/main/java/be/ugent/sel/studeez/common/composable/ButtonComposable.kt @@ -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)) }