This commit is contained in:
Bnyro 2022-06-12 19:28:39 +02:00
parent abb76d3ea5
commit 3ca0e81ce4

View File

@ -426,7 +426,8 @@ class PlayerFragment : Fragment() {
}
}
// check whether related streams are enabled
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(requireContext())
val sharedPreferences = PreferenceManager
.getDefaultSharedPreferences(requireContext())
relatedStreamsEnabled = sharedPreferences.getBoolean("related_streams_toggle", true)
runOnUiThread {
createExoPlayer(view)