Fix another bug

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-06-01 15:41:41 +02:00
parent d133624693
commit c2a4c6f006

View File

@ -544,11 +544,13 @@ public class ChatController extends BaseController implements MessagesListAdapte
myFirstMessage = message;
}
if (popupBubble.isShown()) {
popupBubble.hide();
}
getActivity().runOnUiThread(() -> {
if (popupBubble.isShown()) {
popupBubble.hide();
}
messagesList.smoothScrollToPosition(0);
messagesList.smoothScrollToPosition(0);
});
}
@Override