Fix ChromeCast crash and bugs
This commit is contained in:
parent
a0c745641a
commit
7195ab2afd
8 changed files with 43 additions and 63 deletions
|
@ -4,6 +4,7 @@ import androidx.room.Room
|
|||
import androidx.room.RoomDatabase
|
||||
import androidx.sqlite.db.SupportSQLiteDatabase
|
||||
import code.name.monkey.retromusic.auto.AutoMusicProvider
|
||||
import code.name.monkey.retromusic.cast.RetroWebServer
|
||||
import code.name.monkey.retromusic.db.BlackListStoreDao
|
||||
import code.name.monkey.retromusic.db.BlackListStoreEntity
|
||||
import code.name.monkey.retromusic.db.PlaylistWithSongs
|
||||
|
@ -103,6 +104,9 @@ private val mainModule = module {
|
|||
single {
|
||||
androidContext().contentResolver
|
||||
}
|
||||
single {
|
||||
RetroWebServer(get())
|
||||
}
|
||||
}
|
||||
private val dataModule = module {
|
||||
single {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue