diff --git a/common/src/main/java/de/nicidienase/chaosflix/touch/browse/cast/CastService.kt b/common/src/main/java/de/nicidienase/chaosflix/touch/browse/cast/CastService.kt index cd8ad3aa..4f222a13 100644 --- a/common/src/main/java/de/nicidienase/chaosflix/touch/browse/cast/CastService.kt +++ b/common/src/main/java/de/nicidienase/chaosflix/touch/browse/cast/CastService.kt @@ -11,8 +11,8 @@ import de.nicidienase.chaosflix.touch.browse.streaming.StreamingItem import kotlinx.coroutines.CoroutineScope abstract class CastService( - private val playbackProgressDao: PlaybackProgressDao, - private val scope: CoroutineScope + val playbackProgressDao: PlaybackProgressDao, + val scope: CoroutineScope ) { abstract val connected: Boolean diff --git a/common/src/noFree/java/de/nicidienase/chaosflix/touch/browse/cast/CastServiceImpl.kt b/common/src/noFree/java/de/nicidienase/chaosflix/touch/browse/cast/CastServiceImpl.kt index 5675054c..9d04900f 100644 --- a/common/src/noFree/java/de/nicidienase/chaosflix/touch/browse/cast/CastServiceImpl.kt +++ b/common/src/noFree/java/de/nicidienase/chaosflix/touch/browse/cast/CastServiceImpl.kt @@ -25,8 +25,8 @@ import pl.droidsonroids.casty.Casty import pl.droidsonroids.casty.MediaData class CastServiceImpl( - private val playbackProgressDao: PlaybackProgressDao, - private val scope: CoroutineScope + playbackProgressDao: PlaybackProgressDao, + scope: CoroutineScope ) : LifecycleObserver, CastService(playbackProgressDao, scope) { private var currentEvent: Event? = null