all: reformat
This commit is contained in:
parent
f783a9c32f
commit
4d27c444de
4 changed files with 6 additions and 7 deletions
|
@ -378,7 +378,9 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
|||
val request =
|
||||
ImageRequest.Builder(context)
|
||||
.data(covers)
|
||||
.error(StyledDrawable(context, context.getDrawableCompat(errorRes), iconSize).asImage())
|
||||
.error(
|
||||
StyledDrawable(context, context.getDrawableCompat(errorRes), iconSize)
|
||||
.asImage())
|
||||
.target(image)
|
||||
|
||||
val cornersTransformation =
|
||||
|
|
|
@ -33,7 +33,6 @@ import androidx.media3.exoplayer.MetadataRetriever
|
|||
import androidx.media3.exoplayer.source.MediaSource
|
||||
import androidx.media3.extractor.metadata.flac.PictureFrame
|
||||
import androidx.media3.extractor.metadata.id3.ApicFrame
|
||||
import coil3.DrawableImage
|
||||
import coil3.asImage
|
||||
import coil3.decode.DataSource
|
||||
import coil3.decode.ImageSource
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
package org.oxycblt.auxio.image.extractor
|
||||
|
||||
import android.content.Context
|
||||
import coil3.request.CachePolicy
|
||||
import coil3.ImageLoader
|
||||
import coil3.request.CachePolicy
|
||||
import coil3.request.transitionFactory
|
||||
import dagger.Module
|
||||
import dagger.Provides
|
||||
|
|
|
@ -185,9 +185,7 @@ class DeviceLibraryFactoryImpl @Inject constructor() : DeviceLibrary.Factory {
|
|||
|
||||
// Now that all songs are processed, also process albums and group them into their
|
||||
// respective artists.
|
||||
pruneMusicBrainzIdTree(albumGrouping) { old, new ->
|
||||
compareSongTracks(old, new)
|
||||
}
|
||||
pruneMusicBrainzIdTree(albumGrouping) { old, new -> compareSongTracks(old, new) }
|
||||
val albums = flattenMusicBrainzIdTree(albumGrouping) { AlbumImpl(it, nameFactory) }
|
||||
for (album in albums) {
|
||||
for (rawArtist in album.rawArtists) {
|
||||
|
|
Loading…
Reference in a new issue