We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1e732c commit bf86fc9Copy full SHA for bf86fc9
1 file changed
app/src/main/java/com/cornellappdev/score/components/ButtonPrimary.kt
@@ -39,7 +39,9 @@ fun ButtonPrimary(
39
.height(24.dp),
40
colorFilter = ColorFilter.tint(White)
41
)
42
- Spacer(modifier = Modifier.width(8.dp))
+ if (text.isNotEmpty()) {
43
+ Spacer(modifier = Modifier.width(8.dp))
44
+ }
45
}
46
Text(text = text, style = bodyMedium.copy(color = White))
47
0 commit comments