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({ os.confirm({
type: 'warning', type: 'warning',
text: '同じ名前の絵文字が存在します。インポートしますか?', text: '同じ名前の絵文字が存在します。インポートしますか?',
}).then(canceled => { }).then(res => {
console.log(canceled); console.log(res);
if (canceled) return; if (res.canceled) return;
importEmoji(reaction); importEmoji(reaction);
}); });
} else { } else {