mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Whoops
This commit is contained in:
parent
ba99c8707e
commit
8f38171d2a
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class DownloadFragment : Fragment() {
|
|||
|
||||
private fun handleItemClick(click: DownloadHeaderClickEvent) {
|
||||
when (click.action) {
|
||||
DOWNLOAD_ACTION_PLAY_FILE -> {
|
||||
0 -> {
|
||||
if (!click.data.type.isMovieType()) {
|
||||
val folder = DataStore.getFolderName(DOWNLOAD_EPISODE_CACHE, click.data.id.toString())
|
||||
activity?.navigate(
|
||||
|
@ -151,7 +151,7 @@ class DownloadFragment : Fragment() {
|
|||
)
|
||||
}
|
||||
}
|
||||
DOWNLOAD_ACTION_DELETE_FILE -> {
|
||||
1 -> {
|
||||
(activity as AppCompatActivity?)?.loadResult(click.data.url, click.data.apiName)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue