mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-02 11:58:27 +00:00
Ensure OfflineDb gets initialized early so it can install it's WSS
injector.
This commit is contained in:
parent
5f4375afc5
commit
dc5bcef940
@ -7,11 +7,13 @@ import io.casey.musikcube.remote.injection.AppModule
|
||||
import io.casey.musikcube.remote.injection.DaggerAppComponent
|
||||
import io.casey.musikcube.remote.injection.ServiceModule
|
||||
import io.casey.musikcube.remote.service.gapless.GaplessHeaderService
|
||||
import io.casey.musikcube.remote.service.playback.impl.streaming.db.OfflineDb
|
||||
import io.fabric.sdk.android.Fabric
|
||||
import javax.inject.Inject
|
||||
|
||||
class Application : android.app.Application() {
|
||||
@Inject lateinit var gaplessService: GaplessHeaderService
|
||||
@Inject lateinit var offlineDb: OfflineDb
|
||||
|
||||
override fun onCreate() {
|
||||
instance = this
|
||||
|
Loading…
Reference in New Issue
Block a user