refresh custom emojis when opening the picker
This commit is contained in:
parent
24e565780e
commit
2b7583c8de
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue