|
@@ -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)
|
|
|
}
|
|
|
|