diff --git a/src/routes/wish/import.svelte b/src/routes/wish/import.svelte index 2cd97a7e..295a771d 100644 --- a/src/routes/wish/import.svelte +++ b/src/routes/wish/import.svelte @@ -167,7 +167,7 @@ processingLog = true; try { - if (selectedType === 'android') { + if (selectedType.startsWith('android')) { const urlString = genshinLink.match(/https:\/\/.*#/g); url = new URL(urlString); } else if (selectedType === 'pclog') {