Refactor 'waiting' flags into one location, fix timestamp check
This commit is contained in:
parent
fd36720079
commit
e18b6bed1f
6 changed files with 39 additions and 13 deletions
|
@ -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: () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue