mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Subscribe to download queue state changes in UpdatesScreen
This commit is contained in:
		@@ -81,7 +81,8 @@ class UpdatesScreenModel(
 | 
			
		||||
            combine(
 | 
			
		||||
                getUpdates.subscribe(calendar).distinctUntilChanged(),
 | 
			
		||||
                downloadCache.changes,
 | 
			
		||||
            ) { updates, _ -> updates }
 | 
			
		||||
                downloadManager.queueState,
 | 
			
		||||
            ) { updates, _, _ -> updates }
 | 
			
		||||
                .catch {
 | 
			
		||||
                    logcat(LogPriority.ERROR, it)
 | 
			
		||||
                    _events.send(Event.InternalError)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user