mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Show message in migrate screen if library is empty
This commit is contained in:
		| @@ -63,6 +63,13 @@ class MigrationSourcesController : | ||||
|     } | ||||
|  | ||||
|     fun setSources(sourcesWithManga: List<SourceItem>) { | ||||
|         // Show empty view if needed | ||||
|         if (sourcesWithManga.isNotEmpty()) { | ||||
|             binding.emptyView.hide() | ||||
|         } else { | ||||
|             binding.emptyView.show(R.string.information_empty_library) | ||||
|         } | ||||
|  | ||||
|         adapter?.updateDataSet(sourcesWithManga) | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user