mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-29 23:55:49 +01: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());
|
getRouter().popToRoot(new VerticalChangeHandler());
|
||||||
} else {
|
} else {
|
||||||
getRouter().setRoot(RouterTransaction.with(new MagicBottomNavigationController())
|
getRouter().setRoot(RouterTransaction.with(new MagicBottomNavigationController())
|
||||||
.pushChangeHandler(new HorizontalChangeHandler())
|
.pushChangeHandler(new HorizontalChangeHandler())
|
||||||
.popChangeHandler(new HorizontalChangeHandler()));
|
.popChangeHandler(new HorizontalChangeHandler()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -540,13 +540,13 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
|||||||
myFirstMessage = message;
|
myFirstMessage = message;
|
||||||
}
|
}
|
||||||
|
|
||||||
getActivity().runOnUiThread(() -> {
|
if (popupBubble != null && popupBubble.isShown()) {
|
||||||
if (popupBubble.isShown()) {
|
popupBubble.hide();
|
||||||
popupBubble.hide();
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
if (messagesList != null) {
|
||||||
messagesList.smoothScrollToPosition(0);
|
messagesList.smoothScrollToPosition(0);
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user