Make risurealm share and download to use new api

This commit is contained in:
kwaroran
2024-03-28 03:59:14 +09:00
parent ea6b1d20e5
commit 9f0d398d3b
2 changed files with 64 additions and 46 deletions

View File

@@ -61,7 +61,7 @@
if(!latin1.test(enNotes)){
alertError("English version of creator notes must contain only Latin-1 characters")
}
shareRisuHub(char, {
shareRisuHub2(char, {
anon: privateMode,
nsfw: nsfwMode,
tag: tags,
@@ -79,7 +79,7 @@
import { XIcon } from "lucide-svelte";
import { language } from "src/lang";
import { alertError } from "src/ts/alert";
import { shareRisuHub } from "src/ts/characterCards";
import { shareRisuHub2 } from "src/ts/characterCards";
import { DataBase, type character } from "src/ts/storage/database";
import TextInput from "../GUI/TextInput.svelte";
import Button from "../GUI/Button.svelte";