download episode images

This commit is contained in:
Finnley Somdahl 2023-12-31 00:17:18 -06:00
parent 3ff492d94c
commit 7dbf951d5a
4 changed files with 56 additions and 34 deletions

View file

@ -219,7 +219,8 @@ object Helper {
episode: String,
video: Video,
subtitle: Subtitle? = null,
sourceMedia: Media? = null
sourceMedia: Media? = null,
episodeImage: String? = null
) {
if (!isNotificationPermissionGranted(context)) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
@ -236,7 +237,8 @@ object Helper {
episode,
video,
subtitle,
sourceMedia
sourceMedia,
episodeImage
)
val downloadsManger = Injekt.get<DownloadsManager>()