From d8a2dd5f83598fdde289e01994c5d2df1c6577fc Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 6 Nov 2022 14:32:47 +0100 Subject: Move preferences to a new module --- ui/glide/build.gradle | 1 + .../java/de/danoeh/antennapod/ui/glide/PaletteBitmapTranscoder.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/glide') 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 { -- cgit v1.2.3