Skip to content
Snippets Groups Projects
Commit 904f7abb authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix UninitializedPropertyAccessException in the video player

parent da27d742
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ class VideoPlayerResizeDelegate(private val player: VideoPlayerActivity) {
* Check if the resize overlay is currently shown
* @return true if it's shown
*/
fun isShowing() = resizeMainView.visibility == View.VISIBLE
fun isShowing() = ::resizeMainView.isInitialized && resizeMainView.visibility == View.VISIBLE
/**
* Show the resize overlay. Inflate it if it's not yet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment