diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2022-01-30 14:03:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 14:03:39 +0100 |
commit | d953ad0869a74ed84f837aa30272d96cd88a857d (patch) | |
tree | be2dbc88fac9287cc0da9bfed048621ba0261def /model/src/main/java | |
parent | 08bd963fd963fde83277f62f12de50014e94d1a7 (diff) | |
download | AntennaPod-d953ad0869a74ed84f837aa30272d96cd88a857d.zip |
Nicer placeholder images (#5679)
Shows randomly generated placeholder images for:
- Feeds that do not have a cover (usually happens for text-only feeds)
- Feeds that specify an invalid cover still show a gray square
- Local folders when there is no image file in the folder that we could use
Diffstat (limited to 'model/src/main/java')
-rw-r--r-- | model/src/main/java/de/danoeh/antennapod/model/feed/Feed.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/src/main/java/de/danoeh/antennapod/model/feed/Feed.java b/model/src/main/java/de/danoeh/antennapod/model/feed/Feed.java index e570f9bce..006505eb1 100644 --- a/model/src/main/java/de/danoeh/antennapod/model/feed/Feed.java +++ b/model/src/main/java/de/danoeh/antennapod/model/feed/Feed.java @@ -19,6 +19,7 @@ public class Feed extends FeedFile { public static final String TYPE_RSS2 = "rss"; public static final String TYPE_ATOM1 = "atom"; public static final String PREFIX_LOCAL_FOLDER = "antennapod_local:"; + public static final String PREFIX_GENERATIVE_COVER = "antennapod_generative_cover:"; /** * title as defined by the feed. |