This commit is contained in:
こけっち 2022-09-18 15:47:09 +09:00
parent 2be42c0e4b
commit 3a540dd1f6
No known key found for this signature in database
GPG Key ID: 21460619C5FC4DD1

View File

@ -114,9 +114,9 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string) {
os.confirm({
type: 'warning',
text: '同じ名前の絵文字が存在します。インポートしますか?',
}).then(canceled => {
console.log(canceled);
if (canceled) return;
}).then(res => {
console.log(res);
if (res.canceled) return;
importEmoji(reaction);
});
} else {