mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-30 12:11:58 -04:00
MoreStickers: Fix HTML Import Names
This commit is contained in:
parent
d5b0438d2e
commit
f54fdd14a2
1 changed files with 4 additions and 4 deletions
|
@ -263,8 +263,8 @@ export const Settings = () => {
|
|||
let errorMessage = "";
|
||||
if (isLineEmojiPackHtml(addStickerHtml)) {
|
||||
try {
|
||||
const lineSP = getLineSPFromHtml(addStickerHtml);
|
||||
const stickerPack = convertLineSP(lineSP);
|
||||
const lineEP = getLineEPFromHtml(addStickerHtml);
|
||||
const stickerPack = convertLineEP(lineEP);
|
||||
await saveStickerPack(stickerPack);
|
||||
} catch (e: any) {
|
||||
console.error(e);
|
||||
|
@ -272,8 +272,8 @@ export const Settings = () => {
|
|||
}
|
||||
} else if (isLineStickerPackHtml(addStickerHtml)) {
|
||||
try {
|
||||
const lineEP = getLineEPFromHtml(addStickerHtml);
|
||||
const stickerPack = convertLineEP(lineEP);
|
||||
const lineSP = getLineSPFromHtml(addStickerHtml);
|
||||
const stickerPack = convertLineSP(lineSP);
|
||||
await saveStickerPack(stickerPack);
|
||||
} catch (e: any) {
|
||||
console.error(e);
|
||||
|
|
Loading…
Add table
Reference in a new issue