mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01: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
@ -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 New Issue
Block a user