diff --git a/src/components/WishImportModal.svelte b/src/components/WishImportModal.svelte index ac0beba2..2e651c3c 100644 --- a/src/components/WishImportModal.svelte +++ b/src/components/WishImportModal.svelte @@ -93,7 +93,12 @@ processingLog = true; try { - url = new URL(genshinLink); + if (selectedType === 'android') { + const urlString = genshinLink.match(/https:\/\/.*\//g); + url = new URL(urlString); + } else { + url = new URL(genshinLink); + } } catch (err) { pushToast('Invalid link, please check it again', 'error'); } @@ -603,12 +608,12 @@
  • Wait for it to load and a feedback page should open
  • Turn off your wifi and data connection
  • Press refresh on top right corner
  • -
  • The page should error and show you a link with black font, copy that link
  • +
  • The page should error and show you a text with black font, copy all that text
  • Turn on your wifi or data connection
  • -
  • Paste the link to the textbox below
  • +
  • Paste the text to the textbox below
  • - + {:else if selectedType === 'ios'}
    Sorry I don't know yet how to access the link from iOS...
    If you have the link you can still paste it