From 3914b9b224cb00a5ca65d6708ea569cba208b537 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Mon, 9 Sep 2024 13:38:05 -0400 Subject: [PATCH] Fixes opacity on mwp sign txn sheet (#6083) * change opacity on mwp route source too * switch to includes --- src/navigation/config.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigation/config.tsx b/src/navigation/config.tsx index 19663d09165..15ada222792 100644 --- a/src/navigation/config.tsx +++ b/src/navigation/config.tsx @@ -277,7 +277,7 @@ export const signTransactionSheetConfig = { options: ({ route }: { route: SignTransactionSheetRouteProp }) => ({ ...buildCoolModalConfig({ ...route.params, - backgroundOpacity: route?.params?.source === RequestSource.WALLETCONNECT ? 1 : 0.7, + backgroundOpacity: [RequestSource.WALLETCONNECT, RequestSource.MOBILE_WALLET_PROTOCOL].includes(route?.params?.source) ? 1 : 0.7, cornerRadius: 0, springDamping: 1, topOffset: 0,