Skip to content

Commit

Permalink
🍱 Update MetaMask Snap icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Oct 9, 2023
1 parent 263bcfa commit 859a083
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/connection-method-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export interface Props extends HTMLAttributes<HTMLOrSVGElement> {

function getIconViewBox(type?: LikeCoinWalletConnectorMethodType) {
switch (type) {
case LikeCoinWalletConnectorMethodType.MetaMaskLeap:
case LikeCoinWalletConnectorMethodType.WalletConnectV2:
return '0 0 64 64';
default:
Expand All @@ -26,7 +25,7 @@ function getIconPath(type?: LikeCoinWalletConnectorMethodType) {
case LikeCoinWalletConnectorMethodType.Leap:
return 'm30.58,24.97c.11-.33.25-.81.41-1.37.32-1.12.68-2.56.87-3.88.1-.66.15-1.28.14-1.81-.01-.54-.09-.93-.23-1.17-.06-.12-.13-.19-.2-.23-.06-.04-.15-.07-.28-.07-.28,0-.72.15-1.38.59-.65.44-1.21.93-1.7,1.44-.2-.46-.47-.9-.79-1.33.25-.66.4-1.36.4-2.07,0-.87-.19-1.71-.55-2.49.38-.67.59-1.45.59-2.29,0-2.54-2.02-4.6-4.51-4.6-1.4,0-2.66.66-3.48,1.68-1.13-.26-2.33-.4-3.58-.4s-2.45.14-3.58.4c-.84-1.02-2.09-1.68-3.48-1.68-2.49,0-4.51,2.06-4.51,4.6,0,.84.22,1.61.59,2.29-.36.78-.55,1.62-.55,2.49,0,.69.14,1.36.37,2-.35.46-.64.93-.85,1.43-.55-.52-1.17-1.01-1.9-1.45h0c-.73-.44-1.23-.6-1.56-.6-.29,0-.45.11-.58.31-.14.24-.23.63-.25,1.16-.01.52.04,1.14.15,1.8.21,1.32.61,2.76.96,3.88.17.56.34,1.03.45,1.37.06.17.11.3.14.39.02.04.03.08.04.1v.03s.01,0,.01,0h0s0,0,0,0l.13.34-.31.18-1.24.73s0,0,0,0c-.01,0-.02.01-.02.01,0,0,0,0,0,0,0,0,0,.02,0,.03,0,.02.01.02.01.03,0,0,0,0,0,0,0,0,0,0,.02,0h7.06c.33,0,.6-.3.56-.64-.01-.1-.03-.2-.04-.3,2.21.88,5.13,1.3,8.37,1.3s6.42-.46,8.64-1.42c-.02.15-.04.29-.05.43-.04.4.24.65.46.65h6.36s0-.01,0-.02c0-.02,0-.04,0-.06,0,0,0-.01-.01-.02,0,0,0,0,0,0l-1.13-.73-.28-.18.11-.32h0s0,0,0,0h0s0-.03,0-.03c0-.02.02-.06.03-.1.03-.09.07-.22.13-.39Zm-6.98-17.72c1.52,0,2.76,1.26,2.76,2.81s-1.23,2.81-2.76,2.81-2.76-1.26-2.76-2.81,1.23-2.81,2.76-2.81Zm-14.73,0c1.52,0,2.76,1.26,2.76,2.81s-1.23,2.81-2.76,2.81-2.76-1.26-2.76-2.81,1.23-2.81,2.76-2.81Zm14.21,2.78c0-.28.22-.51.5-.51s.5.23.5.51-.22.51-.5.51-.5-.23-.5-.51Zm-14.73,0c0-.28.22-.51.5-.51s.5.23.5.51-.22.51-.5.51-.5-.23-.5-.51Z';
case LikeCoinWalletConnectorMethodType.MetaMaskLeap:
return 'm54 26 2 2-4 4 4 12-2 10-12-4-6 4h-8l-6-4-12 4-2-10 4-12-4-4 2-2-2-10 2-8 14 8h16l14-8 2 8-2 10z';
return 'm31,14.28l-.63-.45,1-.92-.78-.6,1-.77-.67-.5,1.07-5.12-1.59-4.76h0l-10.18,3.8h-8.46L1.58,1.17,0,5.92l1.07,5.12-.68.5,1,.77-.77.6,1,.92-.63.45,1.44,1.69L.26,22.78l2.03,6.94,7.12-1.96,1.38,1.13,2.8,1.95h4.81l2.81-1.95,1.38-1.13,7.12,1.96,2.05-6.94-2.21-6.8,1.46-1.69Zm-22.98,5.2s-.05-.04-.05-.06.01-.06.04-.08l3.79-1.73s.08,0,.1.04l1.58,3.31s.01.06-.01.08c-.01.01-.04.03-.06.03h-.03l-5.36-1.58Zm10.68,9.04s-.05.01-.08-.01l-.3-.26h-4.68l-.28.26s-.03.01-.04.01-.03,0-.03-.01c-.03-.01-.04-.04-.04-.06l.31-2.77s.01-.04.03-.05l.6-.41s.03-.01.04-.01h3.48s.03,0,.04.01l.6.41s.03.03.03.05l.34,2.77s0,.06-.03.08Zm5.27-9.04l-5.37,1.58h-.03s-.04-.01-.06-.03c-.03-.03-.03-.05-.01-.08l1.58-3.3s.06-.05.1-.04l3.8,1.73s.05.04.04.08c0,.01-.03.04-.05.05Z';
case LikeCoinWalletConnectorMethodType.Cosmostation:
case LikeCoinWalletConnectorMethodType.CosmostationMobile:
return 'M10.82,24.85,4.75,14.34a1.76,1.76,0,0,1,0-1.72l6.07-10.5a1.72,1.72,0,0,1,1.49-.87H24.44a1.7,1.7,0,0,1,1.49.87L32,12.62l-3,1.73L23.44,4.7H13.3L8.23,13.48l5.56,9.65-3,1.72Zm8.86,5.7H7.56a1.71,1.71,0,0,1-1.49-.86L0,19.19l3-1.73,5.57,9.65H18.68l5.08-8.78L18.19,8.68l3-1.72,6.07,10.5a1.78,1.78,0,0,1,0,1.73l-6.07,10.5a1.73,1.73,0,0,1-1.49.86Z';
Expand Down

0 comments on commit 859a083

Please sign in to comment.