forked from GitHub-Mirror/riotX-android
Video visibility fix
This commit is contained in:
parent
d424a135a9
commit
c8ab53e39c
@ -98,6 +98,7 @@ class VideoContentRenderer @Inject constructor(private val activeSessionHolder:
|
|||||||
errorView.isVisible = true
|
errorView.isVisible = true
|
||||||
errorView.setText(R.string.unknown_error)
|
errorView.setText(R.string.unknown_error)
|
||||||
} else {
|
} else {
|
||||||
|
videoView.isVisible = true
|
||||||
videoView.setVideoPath(resolvedUrl)
|
videoView.setVideoPath(resolvedUrl)
|
||||||
videoView.start()
|
videoView.start()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user