From b0eb690a86fd335af258c80f5a21313a864cc60d Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Sat, 27 Aug 2022 22:41:25 +0700 Subject: [PATCH] Fixed input link for other android method --- src/routes/wish/import.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {