Added hourglass icon for chat message in delivery pending state

This commit is contained in:
Sylvain Berfini 2025-02-13 11:29:26 +01:00
parent 7ccd42580d
commit 7e0c6a23a9
2 changed files with 12 additions and 0 deletions

View file

@ -404,6 +404,9 @@ class LinphoneUtils {
ChatMessage.State.InProgress, ChatMessage.State.FileTransferInProgress -> {
R.drawable.animated_in_progress
}
ChatMessage.State.PendingDelivery -> {
R.drawable.hourglass
}
else -> {
R.drawable.animated_in_progress
}

View file

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="256"
android:viewportHeight="256">
<path
android:pathData="M200,75.64V40a16,16 0,0 0,-16 -16H72A16,16 0,0 0,56 40V76a16.07,16.07 0,0 0,6.4 12.8L114.67,128 62.4,167.2A16.07,16.07 0,0 0,56 180v36a16,16 0,0 0,16 16H184a16,16 0,0 0,16 -16V180.36a16.08,16.08 0,0 0,-6.35 -12.76L141.27,128l52.38,-39.6A16.05,16.05 0,0 0,200 75.64ZM178.23,176H77.33L128,138ZM72,216V192H184v24ZM184,75.64 L128,118 72,76V40H184Z"
android:fillColor="#4e6074"/>
</vector>