1
0

TMP: swap to noto-emoji

This commit is contained in:
TAKAHASHI Shuuji 2024-03-22 00:57:56 +09:00
parent 660549b08b
commit c2e8f40981
No known key found for this signature in database
GPG Key ID: F15C887632129F5E

View File

@ -25,7 +25,7 @@ async function openEmojiPicker() {
else {
const [Picker, dataPromise, i18n] = await Promise.all([
import('emoji-mart').then(({ Picker }) => Picker),
import('@emoji-mart/data/sets/14/twitter.json').then((r: any) => r.default).catch(() => {}),
import('@emoji-mart/data/sets/14/google.json').then((r: any) => r.default).catch(() => {}),
importEmojiLang(locale.value.split('-')[0]),
])
@ -36,7 +36,7 @@ async function openEmojiPicker() {
? emit('select', native)
: emit('selectCustom', { src, alt, 'data-emoji-id': name })
},
set: 'twitter',
set: 'google',
theme: colorMode,
custom: customEmojisData.value,
i18n,