mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fixed ICS export
This commit is contained in:
parent
0286abc070
commit
0dd79e5ff8
1 changed files with 2 additions and 1 deletions
|
|
@ -420,7 +420,8 @@ class DetailChatRoomFragment : MasterFragment<ChatRoomDetailFragmentBinding, Cha
|
|||
it.consume { content ->
|
||||
var path = content.filePath.orEmpty()
|
||||
|
||||
if (!File(path).exists()) {
|
||||
if (path.isNotEmpty() && !File(path).exists()) {
|
||||
Log.e("[Chat Message] File not found: $path")
|
||||
(requireActivity() as MainActivity).showSnackBar(R.string.chat_room_file_not_found)
|
||||
} else {
|
||||
if (path.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue