Skip to content

Commit 52aa6eb

Browse files
committed
fix: lint
1 parent bbc1613 commit 52aa6eb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/src/main/java/to/bitkit/ui/shared/util/Modifiers.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fun Modifier.screen(
108108
fun Modifier.primaryButtonStyle(
109109
isEnabled: Boolean,
110110
shape: Shape,
111-
primaryColor: Color? = null
111+
primaryColor: Color? = null,
112112
): Modifier {
113113
return this
114114
// Step 1: Add shadow (only when enabled)
@@ -160,11 +160,7 @@ fun Modifier.primaryButtonStyle(
160160
drawContent()
161161
}
162162
} else {
163-
Modifier.background(
164-
brush = Brush.verticalGradient(
165-
listOf(Colors.White06, Colors.White06)
166-
)
167-
)
163+
Modifier.background(Colors.White06)
168164
}
169165
)
170166
}

0 commit comments

Comments
 (0)