Updated gradle plugin, removed BuildConfig usages

This commit is contained in:
Arty Bishop committed 2025-12-27 15:01:45 +00:00
1 parent b1aa623b29
commit e100484810
10 files changed
+31 -44

No files matched your search

@@ -48,11 +48,10 @@ class DatabaseRepo(
}
override suspend fun updateFromRemote() = withContext(dispatcher) {
val sourcesMap = settingsRepo.satelliteSourcesMap
val importedEntries = mutableListOf<SatEntry>()
val importedRadios = mutableListOf<SatRadio>()
// fetch
val jobsMap = sourcesMap.mapValues { async { remoteSource.getRemoteStream(it.value) } }
val jobsMap = settingsRepo.satelliteSourcesMap.mapValues { async { remoteSource.getRemoteStream(it.value) } }
val jobRadios = async { remoteSource.getRemoteStream(settingsRepo.radioSourceUrl) }
// parse
jobsMap.mapValues { job -> job.value.await() }.forEach { entry ->