Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wallet management v2 #69

Merged
merged 37 commits into from
Apr 19, 2023
Merged

feat: wallet management v2 #69

merged 37 commits into from
Apr 19, 2023

Conversation

chybisov
Copy link
Member

@chybisov chybisov commented Apr 12, 2023

Accidentally merged previous PR 😅

@Addminus please check comments from the previous one #67

@chybisov
Copy link
Member Author

@Addminus I have the same issue with switching chains with the new implementation

image

@chybisov
Copy link
Member Author

chybisov commented Apr 12, 2023

Related
MetaMask/metamask-extension#18509
MetaMask/metamask-extension#18513

Should be fixed in the next MetaMask extension release 🙂

@chybisov chybisov added WIP Work in progress wait Wait. labels Apr 18, 2023
Comment on lines 70 to 87
{installedWallets.map((wallet: Wallet) => (
<ListItemButton
key={wallet.name}
onClick={() => handleConnect(wallet)}
>
<ListItemAvatar>
<Avatar
src={(wallet.icon as any).src || wallet.icon}
alt={wallet.name}
>
{wallet.name[0]}
</Avatar>
</ListItemAvatar>
<ListItemText primary={wallet.name} />
</ListItemButton>
))}

{notInstalledWallets.map((wallet: Wallet) => (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably merge these arrays and map through one. 🙂

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@chybisov chybisov merged commit 626bc68 into main Apr 19, 2023
@chybisov chybisov deleted the wallet-refactor branch April 19, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait Wait. WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants