[feat] realm url sharing

This commit is contained in:
kwaroran
2023-07-16 22:31:18 +09:00
parent d919121870
commit bc57c232cd
3 changed files with 17 additions and 4 deletions

View File

@@ -201,7 +201,8 @@
<div class=" mt-2 w-full border-t-2 border-t-bgcolor"></div>
<button class="w-full hover:bg-selected p-4" on:click|stopPropagation={async () => {
menuOpen = false
const id = await alertInput('Input URL or ID')
const input = await alertInput('Input URL or ID')
const id = input.split("?").at(-1)
downloadRisuHub(id)
}}>Import Character from URL or ID</button>