Skip to content

Commit

Permalink
fix migrate detection
Browse files Browse the repository at this point in the history
  • Loading branch information
gandlafbtc committed Dec 14, 2024
1 parent cf73e12 commit dd9cf78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/lib/elements/onboarding/OnboardingSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
let isLoading = $state(false);
onMount(() => {
const localstorageProofs = localStorage.getItem("proofs");
if (localstorageProofs?.length) {
const localstorageTokens = localStorage.getItem("tokens");
if (localstorageProofs?.length || localstorageTokens?.length) {
isLegacyWallet = true;
backup();
}
Expand Down

0 comments on commit dd9cf78

Please sign in to comment.