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 committed Nov 24, 2023
1 parent 5759f75 commit 41c0d38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,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 41c0d38

Please sign in to comment.