refresh custom emojis when opening the picker

This commit is contained in:
Hazelnoot 2025-10-23 01:53:58 -04:00
parent 24e565780e
commit 2b7583c8de

View file

@ -7,6 +7,7 @@ import { defineAsyncComponent, ref, watch } from 'vue';
import type { Ref } from 'vue';
import { popup } from '@/os.js';
import { prefer } from '@/preferences.js';
import { fetchCustomEmojis } from '@/custom-emojis.js';
/**
*
@ -62,6 +63,9 @@ class EmojiPicker {
this.manualShowing.value = true;
this.onChosen = onChosen;
this.onClosed = onClosed;
// Lazy-refresh emojis
fetchCustomEmojis();
}
}