From 4c3cb5b839789361361495b4bdafc5cc8467c173 Mon Sep 17 00:00:00 2001 From: Nuo Xu Date: Fri, 17 Nov 2023 17:17:41 +0800 Subject: [PATCH] update colour of selected rpc url so user wont think it's configurable from dapp request --- 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 {