Keeping media feed active from the start of the app.

This commit is contained in:
Vitor Pamplona 2023-07-14 16:54:57 -04:00
parent 5f1b2f9eb8
commit caa67b03a8
2 changed files with 1 additions and 4 deletions

View File

@ -79,6 +79,7 @@ object ServiceManager {
NostrAccountDataSource.start()
NostrChatroomListDataSource.start()
NostrDiscoveryDataSource.start()
NostrVideoDataSource.start()
// More Info Data Sources
NostrSingleEventDataSource.start()

View File

@ -85,10 +85,6 @@ fun VideoScreen(
println("Video Start")
NostrVideoDataSource.start()
}
if (event == Lifecycle.Event.ON_PAUSE) {
println("Video Stop")
NostrVideoDataSource.stop()
}
}
lifeCycleOwner.lifecycle.addObserver(observer)