Make the source manager surface suspend (#3869)
Assisted-by: Claude:claude-opus-5
This commit is contained in:
@@ -346,7 +346,7 @@ class MigrationConfigScreen(private val mangaIds: Collection<Long>) : Screen() {
|
||||
saveSources()
|
||||
}
|
||||
|
||||
private fun initSources() {
|
||||
private suspend fun initSources() {
|
||||
val languages = sourcePreferences.enabledLanguages.get()
|
||||
val pinnedSources = sourcePreferences.pinnedSources.get().mapNotNull { it.toLongOrNull() }
|
||||
val includedSources = sourcePreferences.migrationSources.get()
|
||||
|
||||
Reference in New Issue
Block a user