Skip to content

Commit

Permalink
Fixes opacity on mwp sign txn sheet (#6083)
Browse files Browse the repository at this point in the history
* change opacity on mwp route source too

* switch to includes
  • Loading branch information
walmat authored Sep 9, 2024
1 parent 431459a commit 3914b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigation/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3914b9b

Please sign in to comment.