Skip to content

Commit

Permalink
Fix brave/brave-ios#8266: Disable rpc url selection in view mode from…
Browse files Browse the repository at this point in the history
… dapp request (brave/brave-ios#8434)
  • Loading branch information
nuo-xu authored Nov 17, 2023
1 parent c3276d8 commit ad912d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ struct NetworkRadioButton: View {
var body: some View {
Image(braveSystemName: checked ? "leo.check.circle-outline" : "leo.radio.unchecked")
.renderingMode(.template)
.foregroundColor(Color(checked ? .braveBlurpleTint : .braveDisabled))
.foregroundColor(Color((checked && !isDisabled) ? .braveBlurpleTint : .braveDisabled))
.font(.title3)
.onTapGesture {
if !self.isDisabled && !checked {
Expand Down

0 comments on commit ad912d4

Please sign in to comment.