Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8266: Disable rpc url selection in view mode from dapp request (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nuo-xu authored Nov 17, 2023
1 parent 3a05e20 commit d3e5b01
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 d3e5b01

Please sign in to comment.