1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-03-13 18:10:11 +01:00

Fixed currentDownloading to be nullable

(It can be null when nothing is downloading)
This commit is contained in:
Nite 2021-06-07 20:06:40 +02:00
parent 6dff5c5a23
commit 7182694c5d
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1

View File

@ -489,7 +489,7 @@ class MediaPlayerController(
val currentPlayingNumberOnPlaylist: Int val currentPlayingNumberOnPlaylist: Int
get() = downloader.currentPlayingIndex get() = downloader.currentPlayingIndex
val currentDownloading: DownloadFile val currentDownloading: DownloadFile?
get() = downloader.currentDownloading get() = downloader.currentDownloading
val playList: List<DownloadFile> val playList: List<DownloadFile>