From 9457fa97d24bcf450abb0d6bfb7a45e85702416c Mon Sep 17 00:00:00 2001 From: lbarraga Date: Sat, 8 Apr 2023 21:43:08 +0200 Subject: [PATCH] remove explicit colors Co-authored-by: Tibo De Peuter --- .../sel/studeez/common/composable/ButtonComposable.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 1697232..3fec9a4 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 @@ -16,12 +16,7 @@ fun BasicTextButton(@StringRes text: Int, modifier: Modifier, action: () -> Unit fun BasicButton(@StringRes text: Int, modifier: Modifier, action: () -> Unit) { Button( onClick = action, - modifier = modifier, - colors = - ButtonDefaults.buttonColors( - backgroundColor = MaterialTheme.colors.primary, - contentColor = MaterialTheme.colors.onPrimary - ) + modifier = modifier ) { Text(text = stringResource(text), fontSize = 16.sp) }