mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-28 19:22:46 +01:00
Update download notification cancel to clear download queue in UI
This commit is contained in:
1 parent
b084e54dcc
commit
e5ef38295d
3 files changed
+13
-2
No files matched your search
@@ -38,7 +38,9 @@ class AbsDownloader : Plugin() {
|
||||
override fun onDownloadItemComplete(jsobj:JSObject) {
|
||||
notifyListeners("onItemDownloadComplete", jsobj)
|
||||
}
|
||||
override fun onQueueChanged(hasWork: Boolean) = Unit
|
||||
override fun onQueueChanged(hasWork: Boolean) {
|
||||
notifyListeners("onQueueChanged", JSObject().put("hasWork", hasWork))
|
||||
}
|
||||
})
|
||||
|
||||
override fun load() {
|
||||
|
||||
Reference in new issue
Block a user