diff options
author | ByteHamster <info@bytehamster.com> | 2022-11-06 14:32:47 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-11-06 21:21:28 +0100 |
commit | d8a2dd5f83598fdde289e01994c5d2df1c6577fc (patch) | |
tree | f19ab0c0e798855f9c4f3fe17a85bc1cb3e90750 /ui/glide | |
parent | 0101f1244ebe088edbe000b1966a92ca4994023a (diff) | |
download | AntennaPod-d8a2dd5f83598fdde289e01994c5d2df1c6577fc.zip |
Move preferences to a new module
Diffstat (limited to 'ui/glide')
-rw-r--r-- | ui/glide/build.gradle | 1 | ||||
-rw-r--r-- | ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/PaletteBitmapTranscoder.java | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/glide/build.gradle b/ui/glide/build.gradle index 020a4db8e..81b5eeeaa 100644 --- a/ui/glide/build.gradle +++ b/ui/glide/build.gradle @@ -7,6 +7,7 @@ apply from: "../../playFlavor.gradle" dependencies { implementation project(":model") implementation project(":core") + implementation project(':storage:preferences') implementation "androidx.palette:palette:$paletteVersion" diff --git a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/PaletteBitmapTranscoder.java b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/PaletteBitmapTranscoder.java index 75599a30a..bcb5f590a 100644 --- a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/PaletteBitmapTranscoder.java +++ b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/PaletteBitmapTranscoder.java @@ -13,8 +13,7 @@ import androidx.palette.graphics.Palette; import com.bumptech.glide.load.Options; import com.bumptech.glide.load.engine.Resource; import com.bumptech.glide.load.resource.transcode.ResourceTranscoder; - -import de.danoeh.antennapod.core.preferences.UserPreferences; +import de.danoeh.antennapod.storage.preferences.UserPreferences; public class PaletteBitmapTranscoder implements ResourceTranscoder<Bitmap, PaletteBitmap> { |