mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-11-18 20:14:02 +00:00
Refactor image loading, add icon to background playback notification
This commit is contained in:
7 files changed
+72
-36
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package org.jellyfin.mobile
|
||||
|
||||
import coil.ImageLoader
|
||||
import kotlinx.coroutines.channels.Channel
|
||||
import okhttp3.OkHttpClient
|
||||
import org.jellyfin.apiclient.AppInfo
|
||||
@@ -21,6 +22,7 @@ const val WEBAPP_FUNCTION_CHANNEL = "WebAppFunctionChannel"
|
||||
val applicationModule: Module = module {
|
||||
single { AppPreferences(androidApplication()) }
|
||||
single { OkHttpClient() }
|
||||
single { ImageLoader(androidApplication()) }
|
||||
single(named(PLAYER_EVENT_CHANNEL)) { Channel<PlayerEvent>() }
|
||||
single(named(WEBAPP_FUNCTION_CHANNEL)) { Channel<String>() }
|
||||
single {
|
||||
|
||||
Reference in new issue
Block a user