Commit 421f5103 authored by Grigory Fedorov's avatar Grigory Fedorov

Chat: hint message views do not hided (empty message was removed earlier).

parent 975548ba
......@@ -184,12 +184,7 @@ public class ChatMessageAdapter extends RecyclerView.Adapter<RecyclerView.ViewHo
switch (viewType) {
case VIEW_TYPE_HINT:
HintMessage hintMessage = (HintMessage) holder;
if (hint == null || hint.trim().isEmpty()) {
(hintMessage).info.setVisibility(View.GONE);
} else {
(hintMessage).info.setText(hint);
(hintMessage).info.setVisibility(View.VISIBLE);
}
hintMessage.info.setText(hint);
break;
case VIEW_TYPE_ACTION_MESSAGE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment