Skip to content

Commit

Permalink
Merge branch 'main' into refactor/swaps-feature-flag-and-enable-on-re…
Browse files Browse the repository at this point in the history
…gular-wallets
  • Loading branch information
enesozturk authored Jul 22, 2024
2 parents 8e45976 + 527fdce commit 6a0c1cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export class W3mConnectingWcDesktop extends W3mConnectingWidget {
private onRenderProxy() {
if (!this.ready && this.uri) {
this.ready = true
this.timeout = setTimeout(() => {
this.onConnect?.()
}, 200)
this.onConnect?.()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ export class W3mConnectingWcQrcode extends W3mConnectingWidget {
// -- Private ------------------------------------------- //
private onRenderProxy() {
if (!this.ready && this.uri) {
// This setTimeout needed to avoid the beginning of the animation from not starting to resize immediately and some weird svg errors
this.timeout = setTimeout(() => {
this.ready = true
}, 200)
}, 0)
}
}

Expand Down

0 comments on commit 6a0c1cc

Please sign in to comment.