Show upload progress for view-once messages.
This commit is contained in:
parent
9c8a99c79c
commit
09af858be8
1 changed files with 6 additions and 1 deletions
|
@ -102,7 +102,12 @@ public class ViewOnceMessageView extends LinearLayout {
|
|||
}
|
||||
|
||||
private void presentText(@NonNull MmsMessageRecord messageRecord) {
|
||||
if (messageRecord.isOutgoing()) {
|
||||
if (messageRecord.isOutgoing() && networkInProgress(messageRecord)) {
|
||||
foregroundColor = openedForegroundColor;
|
||||
text.setText(R.string.RevealableMessageView_outgoing_media);
|
||||
icon.setImageResource(0);
|
||||
progress.setVisibility(VISIBLE);
|
||||
} else if (messageRecord.isOutgoing()) {
|
||||
foregroundColor = openedForegroundColor;
|
||||
text.setText(R.string.RevealableMessageView_outgoing_media);
|
||||
icon.setImageResource(R.drawable.ic_play_outline_24);
|
||||
|
|
Loading…
Add table
Reference in a new issue