From 6aef2fefdcb4356b97af593149daac81d8e8c6ad Mon Sep 17 00:00:00 2001 From: EmmaVandewalle Date: Thu, 25 Jul 2024 12:35:27 +0200 Subject: [PATCH] fix: not full name of app in unique button --- app/src/main/java/be/re/writand/screens/components/Buttons.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/be/re/writand/screens/components/Buttons.kt b/app/src/main/java/be/re/writand/screens/components/Buttons.kt index 22e423e..2f8f734 100644 --- a/app/src/main/java/be/re/writand/screens/components/Buttons.kt +++ b/app/src/main/java/be/re/writand/screens/components/Buttons.kt @@ -18,7 +18,7 @@ import be.re.writand.ui.theme.MainGreen * @param[enabled] boolean to express if the button is enabled to be clicked or not. */ @Composable -fun WritandButton( +fun WButton( text: String, onClick: () -> Unit, enabled: Boolean = true