mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-28 09:34:05 +00:00
fix view in chat & search
This commit is contained in:
parent
013a7aaa89
commit
e44072e04b
|
@ -2808,7 +2808,8 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||
if (threadMessageId == 0 && !UserObject.isReplyUser(currentUser) || threadMessageObject != null && threadMessageObject.getRepliesCount() == 0) {
|
||||
searchItem.setVisibility(View.GONE);
|
||||
}
|
||||
viewInChatItem.setVisibility(View.VISIBLE);
|
||||
if (viewInChatItem != null)
|
||||
viewInChatItem.setVisibility(View.VISIBLE);
|
||||
searchItemVisible = false;
|
||||
getMediaDataController().clearFoundMessageObjects();
|
||||
if (messagesSearchAdapter != null) {
|
||||
|
@ -24716,7 +24717,8 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||
audioCallIconItem.setVisibility(View.GONE);
|
||||
}
|
||||
searchItemVisible = true;
|
||||
viewInChatItem.setVisibility(View.GONE);
|
||||
if (viewInChatItem != null)
|
||||
viewInChatItem.setVisibility(View.GONE);
|
||||
updateSearchButtons(0, 0, -1);
|
||||
updateBottomOverlay();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user