mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix emoji toggle behavior when in emoji search mode.
When in emoji search, toggle would be set to "emoji" state or act like in "emoji" state. Fix is to show "keyboard" state still when in emoji search.
This commit is contained in:
@@ -1171,8 +1171,12 @@ public class ConversationParentFragment extends Fragment
|
||||
@Override
|
||||
public void onKeyboardShown() {
|
||||
inputPanel.onKeyboardShown();
|
||||
if (emojiDrawerStub.resolved() && emojiDrawerStub.get().isShowing() && !emojiDrawerStub.get().isEmojiSearchMode()) {
|
||||
emojiDrawerStub.get().hide(true);
|
||||
if (emojiDrawerStub.resolved() && emojiDrawerStub.get().isShowing()) {
|
||||
if (emojiDrawerStub.get().isEmojiSearchMode()) {
|
||||
inputPanel.setToIme();
|
||||
} else {
|
||||
emojiDrawerStub.get().hide(true);
|
||||
}
|
||||
}
|
||||
if (attachmentKeyboardStub.resolved() && attachmentKeyboardStub.get().isShowing()) {
|
||||
navigationBarBackground.setVisibility(View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user