Explorar o código

Merge pull request #2450 from nextcloud/bugfix/2447/fixToStartDirectVideoCapture

toast when Direct Video Upload fails to start
Andy Scherzinger %!s(int64=2) %!d(string=hai) anos
pai
achega
fd1f2c77ad

+ 1 - 0
app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt

@@ -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
                     }