Skip to content

Commit

Permalink
Merge pull request #797 from airgap-it/chore/revert_kukai_WC_migration
Browse files Browse the repository at this point in the history
chore: revert kukai migration
  • Loading branch information
IsaccoSordo authored Jul 22, 2024
2 parents d679042 + ee8f893 commit 5d10f5b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/beacon-ui/src/ui/alert/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@ const openAlert = async (config: AlertConfig): Promise<string> => {

let link = ''

if (wallet.supportedInteractionStandards?.includes('wallet_connect')) {
if (
wallet.supportedInteractionStandards?.includes('wallet_connect') &&
!wallet.name.toLowerCase().includes('kukai')
) {
const uri = await generateLink()

if (!uri) {
Expand Down Expand Up @@ -580,7 +583,10 @@ const openAlert = async (config: AlertConfig): Promise<string> => {
})
)

if (wallet?.types.includes('web') && wallet?.types.length === 1) {
if (
(wallet?.types.includes('web') && wallet?.types.length === 1) ||
(isAndroid(window) && wallet?.name.toLowerCase().includes('kukai'))
) {
handleNewTab(config, wallet)
return
}
Expand Down

0 comments on commit 5d10f5b

Please sign in to comment.