Minor cleanup
Also add POST_NOTIFICATIONS permissions to make Android Studio stop complaining about it.
This commit is contained in:
@@ -71,7 +71,7 @@ class DownloadQueue(
|
||||
updatedRelay.call(Unit)
|
||||
}
|
||||
|
||||
fun getActiveDownloads(): Observable<Download> =
|
||||
private fun getActiveDownloads(): Observable<Download> =
|
||||
Observable.from(this).filter { download -> download.status == Download.State.DOWNLOADING }
|
||||
|
||||
@Deprecated("Use getStatusAsFlow instead")
|
||||
|
||||
Reference in New Issue
Block a user