Skip to content

Commit 28ce97b

Browse files
authored
Merge pull request xch-dev#581 from dkackman/migrate-warning
tone down migrate warning
2 parents c2c8a24 + 13b6029 commit 28ce97b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pages/Login.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,10 @@ function WalletItem({ draggable, info, keys, setKeys }: WalletItemProps) {
653653
</DialogTitle>
654654
<DialogDescription>
655655
<Trans>
656-
This wallet requires a database migration to continue. Would you
657-
like to delete the wallet&apos;s data or cancel the login? The
658-
keys will not be affected.
656+
In order to proceed with the update, the wallet will be fully
657+
resynced. This means any imported offer files or custom asset
658+
names will be removed, but you can manually add them again after
659+
if needed.
659660
</Trans>
660661
</DialogDescription>
661662
</DialogHeader>
@@ -674,7 +675,7 @@ function WalletItem({ draggable, info, keys, setKeys }: WalletItemProps) {
674675
<Trans>Cancel</Trans>
675676
</Button>
676677
<Button
677-
variant='destructive'
678+
variant='default'
678679
onClick={async () => {
679680
setIsMigrationDialogOpen(false);
680681
await logoutAndUpdateState();
@@ -686,7 +687,7 @@ function WalletItem({ draggable, info, keys, setKeys }: WalletItemProps) {
686687
}}
687688
autoFocus
688689
>
689-
<Trans>Delete Data</Trans>
690+
<Trans>OK</Trans>
690691
</Button>
691692
</DialogFooter>
692693
</DialogContent>

0 commit comments

Comments
 (0)