Skip to content

Commit 91a1763

Browse files
committed
Had the toggle in the wrong spot
Need to show the dialog before doing the reset.
1 parent e2aba90 commit 91a1763

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ function NavBar({ layoutref }: NavBarProps) {
373373
}
374374
toggleDialog();
375375
setDialogContent(<AlertDialog alertMessage={t('update-lib-complete')} toggleDialog={toggleDialog} />);
376-
await CommandToXRPMgr.getInstance().restartXRP();
377376
toggleDialog();
377+
await CommandToXRPMgr.getInstance().restartXRP();
378378
}
379379

380380
/**

0 commit comments

Comments
 (0)