Open wmontwe opened 5 days ago
This is adding a lot of new and unnecessary dependencies, e.g.
io.coil-kt:coil-gif
io.coil-kt:coil-video
com.squareup.okhttp3:okhttp-sse
io.ktor:ktor-*
com.github.skydoves:landscapist-*
)It looks like we could avoid all of that without loss of functionality by using Coil's AsyncImage
directly. Since we don't actually want to load images via http(s), we don't even have to include any of Coil's network bindings.
This adds a
RemoteImage
to the design system to load images from URLs and files. It uses landscapist as abstraction layer for compose and coil as the image loader.First step to allow account images in the app.