mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Revert picture(s) message summary using emoji
This commit is contained in:
parent
8a1d88c4b5
commit
84af9437bc
1 changed files with 1 additions and 7 deletions
|
|
@ -471,13 +471,7 @@ class LinphoneUtils {
|
|||
if (text.isNotEmpty()) {
|
||||
text += ", "
|
||||
}
|
||||
val contentType = "${content.type}/${content.subtype}"
|
||||
text += when (FileUtils.getMimeType(contentType)) {
|
||||
FileUtils.MimeType.Image -> "\uD83D\uDDBC\uFE0F"
|
||||
// FileUtils.MimeType.Video -> "\uD83C\uDF9E\uFE0F"
|
||||
// FileUtils.MimeType.Audio -> "\uD83C\uDFB5"
|
||||
else -> content.name
|
||||
}
|
||||
text += content.name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue