Skip to content
Snippets Groups Projects
Commit aebfe400 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Videos fragment: prevent IllegalStateException

(cherry picked from commit 1da1a94b)
parent a7b4c52e
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ class VideoGridFragment : MediaBrowserFragment<VideosViewModel>(), SwipeRefreshL
}
override fun onFabPlayClick(view: View) {
MediaUtils.playAll(requireContext(), viewModel.provider, 0, false)
MediaUtils.playAll(context, viewModel.provider, 0, false)
}
@MainThread
......
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