mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Simultaneous download will now show on start. (#911)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							1568ac9e8a
						
					
				
				
					commit
					cc9b77b876
				
			| @@ -114,6 +114,9 @@ class Downloader(private val context: Context, private val provider: DownloadPro | ||||
|         val pending = queue.filter { it.status != Download.DOWNLOADED } | ||||
|         pending.forEach { if (it.status != Download.QUEUE) it.status = Download.QUEUE } | ||||
|  | ||||
|         // Show download notification when simultaneous download > 1. | ||||
|         notifier.onProgressChange(queue) | ||||
|  | ||||
|         downloadsRelay.call(pending) | ||||
|         return !pending.isEmpty() | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user