mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
add toast if video file creation failed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
fe1f02eb2f
commit
387cb63ce7
1 changed files with 1 additions and 0 deletions
|
@ -3290,6 +3290,7 @@ class ChatController(args: Bundle) :
|
|||
)
|
||||
File("$outputDir/$videoName$VIDEO_SUFFIX")
|
||||
} catch (e: IOException) {
|
||||
Toast.makeText(context, R.string.nc_common_error_sorry, Toast.LENGTH_LONG).show()
|
||||
Log.e(TAG, "error while creating video file", e)
|
||||
null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue