Skip to content

Commit

Permalink
ui: button text color
Browse files Browse the repository at this point in the history
  • Loading branch information
reez authored Sep 22, 2024
1 parent 42fa2df commit c832cd1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
9 changes: 8 additions & 1 deletion BDKSwiftExampleWallet/View/OnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ struct OnboardingView: View {
.buttonStyle(
BitcoinFilled(
tintColor: .bitcoinOrange,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
)
Expand Down Expand Up @@ -181,7 +182,13 @@ struct ImportView: View {
Button("Import") {
isPresented = false
}
.buttonStyle(BitcoinFilled(tintColor: .bitcoinOrange, isCapsule: true))
.buttonStyle(
BitcoinFilled(
tintColor: .bitcoinOrange,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
)
.padding()

}
Expand Down
12 changes: 10 additions & 2 deletions BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,16 @@ struct BuildTransactionView: View {
}
.buttonStyle(
isSent
? BitcoinFilled(tintColor: .bitcoinRed, isCapsule: true)
: BitcoinFilled(tintColor: .bitcoinOrange, isCapsule: true)
? BitcoinFilled(
tintColor: .bitcoinRed,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
: BitcoinFilled(
tintColor: .bitcoinOrange,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)

)
.padding()
Expand Down
1 change: 1 addition & 0 deletions BDKSwiftExampleWallet/View/Settings/SeedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ struct SeedView: View {
width: 120,
height: 40,
tintColor: .bitcoinOrange,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
)
Expand Down

0 comments on commit c832cd1

Please sign in to comment.