mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-29 05:38:51 +00:00
Fixed typo
This commit is contained in:
parent
7d5c8347ce
commit
208c6c0776
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ class StateDownloads {
|
||||||
}
|
}
|
||||||
private fun validateDownload(videoState: VideoDownload) {
|
private fun validateDownload(videoState: VideoDownload) {
|
||||||
if(_downloading.hasItem { it.videoEither.url == videoState.videoEither.url })
|
if(_downloading.hasItem { it.videoEither.url == videoState.videoEither.url })
|
||||||
throw IllegalStateException("Video [${videoState.name}] is already queued for dowload");
|
throw IllegalStateException("Video [${videoState.name}] is already queued for download");
|
||||||
|
|
||||||
val existing = getCachedVideo(videoState.id);
|
val existing = getCachedVideo(videoState.id);
|
||||||
if(existing != null) {
|
if(existing != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue