We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc1613 commit 52aa6ebCopy full SHA for 52aa6eb
app/src/main/java/to/bitkit/ui/shared/util/Modifiers.kt
@@ -108,7 +108,7 @@ fun Modifier.screen(
108
fun Modifier.primaryButtonStyle(
109
isEnabled: Boolean,
110
shape: Shape,
111
- primaryColor: Color? = null
+ primaryColor: Color? = null,
112
): Modifier {
113
return this
114
// Step 1: Add shadow (only when enabled)
@@ -160,11 +160,7 @@ fun Modifier.primaryButtonStyle(
160
drawContent()
161
}
162
} else {
163
- Modifier.background(
164
- brush = Brush.verticalGradient(
165
- listOf(Colors.White06, Colors.White06)
166
- )
167
+ Modifier.background(Colors.White06)
168
169
)
170
0 commit comments