From d3e5b01f595e05ec7c901354a017e88c4b56ceaf Mon Sep 17 00:00:00 2001 From: Nuo Xu Date: Fri, 17 Nov 2023 08:33:24 -0800 Subject: [PATCH] Fix #8266: Disable rpc url selection in view mode from dapp request (#8434) --- Sources/BraveWallet/Settings/CustomNetworkDetailsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/BraveWallet/Settings/CustomNetworkDetailsView.swift b/Sources/BraveWallet/Settings/CustomNetworkDetailsView.swift index 8cb4c8e561b..43a88a31c41 100644 --- a/Sources/BraveWallet/Settings/CustomNetworkDetailsView.swift +++ b/Sources/BraveWallet/Settings/CustomNetworkDetailsView.swift @@ -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 {