mirror of
https://github.com/amir1376/ab-download-manager.git
synced 2025-02-20 11:43:24 +08:00
if user press on download button don't show progress download window if user disabled auto show progress window
This commit is contained in:
parent
e1ed05452c
commit
b7b5bf645f
@ -260,7 +260,6 @@ class AppComponent(
|
||||
startNewDownload(
|
||||
item = item,
|
||||
onDuplicateStrategy = onDuplicate,
|
||||
openDownloadDialog = true,
|
||||
categoryId = categoryId,
|
||||
)
|
||||
closeAddDownloadDialog(config.id)
|
||||
@ -710,7 +709,6 @@ class AppComponent(
|
||||
fun startNewDownload(
|
||||
item: DownloadItem,
|
||||
onDuplicateStrategy: OnDuplicateStrategy,
|
||||
openDownloadDialog: Boolean,
|
||||
categoryId: Long?,
|
||||
) {
|
||||
scope.launch {
|
||||
@ -723,11 +721,6 @@ class AppComponent(
|
||||
launch {
|
||||
downloadSystem.manualResume(id)
|
||||
}
|
||||
if (openDownloadDialog) {
|
||||
launch {
|
||||
openDownloadDialog(id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user