Refactor 'waiting' flags into one location, fix timestamp check
This commit is contained in:
@@ -315,6 +315,10 @@
|
||||
},
|
||||
|
||||
setupStickerPickerButton() {
|
||||
if (!window.ENABLE_STICKER_SEND) {
|
||||
return;
|
||||
}
|
||||
|
||||
const props = {
|
||||
onClickAddPack: () => this.showStickerManager(),
|
||||
onPickSticker: (packId, stickerId) =>
|
||||
@@ -1318,6 +1322,10 @@
|
||||
},
|
||||
|
||||
showStickerPackPreview(packId) {
|
||||
if (!window.ENABLE_STICKER_SEND) {
|
||||
return;
|
||||
}
|
||||
|
||||
const props = {
|
||||
packId,
|
||||
onClose: () => {
|
||||
|
Reference in New Issue
Block a user