mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 22:29:09 +00:00
Try to fix a bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
5ca20d3ea8
commit
a3b674c7e7
@ -490,8 +490,8 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
getRouter().popToRoot(new VerticalChangeHandler());
|
||||
} else {
|
||||
getRouter().setRoot(RouterTransaction.with(new MagicBottomNavigationController())
|
||||
.pushChangeHandler(new HorizontalChangeHandler())
|
||||
.popChangeHandler(new HorizontalChangeHandler()));
|
||||
.pushChangeHandler(new HorizontalChangeHandler())
|
||||
.popChangeHandler(new HorizontalChangeHandler()));
|
||||
}
|
||||
}
|
||||
|
||||
@ -540,13 +540,13 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
myFirstMessage = message;
|
||||
}
|
||||
|
||||
getActivity().runOnUiThread(() -> {
|
||||
if (popupBubble.isShown()) {
|
||||
popupBubble.hide();
|
||||
}
|
||||
if (popupBubble != null && popupBubble.isShown()) {
|
||||
popupBubble.hide();
|
||||
}
|
||||
|
||||
if (messagesList != null) {
|
||||
messagesList.smoothScrollToPosition(0);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user