forked from Ivasoft/mattermost-mobile
Properly dimiss for PostOptions to be dismissed
This commit is contained in:
@@ -53,7 +53,7 @@ const ReactionBar = ({recentEmojis = []}: QuickReactionProps) => {
|
||||
|
||||
const openEmojiPicker = useCallback(async () => {
|
||||
DeviceEventEmitter.emit(Events.CLOSE_BOTTOM_SHEET);
|
||||
await EphemeralStore.waitUntilScreensIsRemoved(Screens.BOTTOM_SHEET);
|
||||
await EphemeralStore.waitUntilScreensIsRemoved(Screens.POST_OPTIONS);
|
||||
|
||||
const closeButton = CompassIcon.getImageSourceSync('close', 24, theme.sidebarHeaderTextColor);
|
||||
const screen = Screens.EMOJI_PICKER;
|
||||
|
||||
Reference in New Issue
Block a user