Use new FileTransferInProgress state
This commit is contained in:
parent
ea08f420a7
commit
a79e63f0c6
1 changed files with 3 additions and 2 deletions
|
@ -161,7 +161,8 @@ public class ChatMessageViewHolder extends RecyclerView.ViewHolder implements Vi
|
|||
} else if (status == ChatMessage.State.FileTransferError) {
|
||||
outgoingImdn.setVisibility(View.VISIBLE);
|
||||
outgoingImdn.setImageResource(R.drawable.imdn_error);
|
||||
} else if (status == ChatMessage.State.InProgress) {
|
||||
} else if (status == ChatMessage.State.InProgress
|
||||
|| status == ChatMessage.State.FileTransferInProgress) {
|
||||
sendInProgress.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
|
@ -176,7 +177,7 @@ public class ChatMessageViewHolder extends RecyclerView.ViewHolder implements Vi
|
|||
bubbleLayout.setPadding(
|
||||
0, 0, (int) ImageUtils.dpToPixels(LinphoneActivity.instance(), 18), 0);
|
||||
|
||||
if (status == ChatMessage.State.InProgress) {
|
||||
if (status == ChatMessage.State.FileTransferInProgress) {
|
||||
downloadInProgress.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue