mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-12 02:19:44 +00:00
Revert
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
c442464a6f
commit
5ca20d3ea8
@ -687,11 +687,12 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
|||||||
setSenderId();
|
setSenderId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean shouldScroll = layoutManager.findFirstVisibleItemPosition() == 0 ||
|
boolean shouldScroll = layoutManager.findFirstVisibleItemPosition() == 0 ||
|
||||||
adapter.getItemCount() == 0;
|
adapter.getItemCount() == 0;
|
||||||
|
|
||||||
if (!shouldScroll) {
|
if (!shouldScroll) {
|
||||||
if (!popupBubble.isShown() && layoutManager.findFirstVisibleItemPosition() != 0) {
|
if (!popupBubble.isShown()) {
|
||||||
newMessagesCount = 1;
|
newMessagesCount = 1;
|
||||||
popupBubble.show();
|
popupBubble.show();
|
||||||
} else if (popupBubble.isShown()) {
|
} else if (popupBubble.isShown()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user