mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix chat list view
This commit is contained in:
parent
30a893fc15
commit
5e312aeb60
2 changed files with 3 additions and 2 deletions
|
|
@ -102,7 +102,7 @@
|
|||
android:id="@+id/separator_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="23.3dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@color/colorN"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:text="appel sécurisé"
|
||||
|
|
|
|||
|
|
@ -198,7 +198,8 @@ public class ChatRoomsAdapter extends ListSelectionAdapter {
|
|||
} else {
|
||||
holder.messageStatus.setImageResource(R.drawable.message_undelivered);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
if (!chatRoom.hasCapability(ChatRoomCapabilities.OneToOne.toInt())){
|
||||
Address lastMessageSenderAddress = lastMessage.getFromAddress();
|
||||
LinphoneContact contact = ContactsManager.getInstance().findContactFromAddress(lastMessageSenderAddress);
|
||||
holder.lastMessageSenderView.setVisibility(View.VISIBLE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue