Skip to content

Commit 8c588d3

Browse files
committed
fix(ui): primary button disabled color
1 parent 6f274e9 commit 8c588d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Bitkit/Components/Button/PrimaryButtonView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ struct PrimaryButtonView: View {
3333
.background(backgroundGradient)
3434
.cornerRadius(64)
3535
.shadow(color: shadowColor, radius: 0, x: 0, y: -1)
36-
.opacity(isDisabled ? 0.3 : 1.0)
36+
.opacity(isDisabled ? 0.32 : 1.0)
3737
.contentShape(Rectangle())
3838
}
3939

@@ -42,7 +42,7 @@ struct PrimaryButtonView: View {
4242
return AnyView(Color.gray6)
4343
}
4444
if isDisabled {
45-
return AnyView(Color.gray4)
45+
return AnyView(Color.clear)
4646
}
4747

4848
return AnyView(ButtonGradient(isPressed: isPressed))

0 commit comments

Comments
 (0)