Skip to content

Commit

Permalink
handleExternalInteractionWithNoProceedNext btc
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jan 21, 2025
1 parent 8551669 commit c0a6072
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/extension/src/pages/register/connect-ledger/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,8 @@ const StepView: FunctionComponent<{
}
>
<XAxis alignY="center">
<div>{icon}</div>
<Gutter size="1.25rem" />
{/* <div>{icon}</div> */}
{/* <Gutter size="1.25rem" /> */}
<YAxis>
<XAxis>
<H2
Expand Down
17 changes: 16 additions & 1 deletion apps/extension/src/pages/sign/btc/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,22 @@ export const BTCSigningView: FunctionComponent<{
outputs,
// TODO: Ledger support
signature,
async () => {
async (proceedNext) => {
if (!proceedNext) {
if (
interactionInfo.interaction &&
!interactionInfo.interactionInternal
) {
handleExternalInteractionWithNoProceedNext();
}
}

if (
interactionInfo.interaction &&
interactionInfo.interactionInternal
) {
await unmountPromise.promise;
}
// noop
notification.show(
"success",
Expand Down

0 comments on commit c0a6072

Please sign in to comment.