mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 14:24:05 +01:00
Merge pull request #2450 from nextcloud/bugfix/2447/fixToStartDirectVideoCapture
toast when Direct Video Upload fails to start
This commit is contained in:
commit
fd1f2c77ad
@ -3290,6 +3290,7 @@ class ChatController(args: Bundle) :
|
|||||||
)
|
)
|
||||||
File("$outputDir/$videoName$VIDEO_SUFFIX")
|
File("$outputDir/$videoName$VIDEO_SUFFIX")
|
||||||
} catch (e: IOException) {
|
} 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)
|
Log.e(TAG, "error while creating video file", e)
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user