feat(branding): update app icons and logo for improved visual consistency

This commit is contained in:
2026-05-02 19:28:47 +02:00
parent f626c9533e
commit fe1d449fe0
10 changed files with 81 additions and 53 deletions

View File

@@ -88,30 +88,28 @@ class InMemoryAppContentRepository @Inject constructor(
scope.launch { refreshHomeData() }
}
@Synchronized
override fun refreshHomeData() {
if (refreshJob?.isActive == true) {
return
}
val job = scope.launch {
runCatching {
Log.d(TAG, "Refreshing home data")
if (!networkMonitor.isOnline.first()) {
return@runCatching
override suspend fun refreshHomeData() {
val job = synchronized(this) {
refreshJob?.takeIf { it.isActive } ?: scope.launch {
runCatching {
Log.d(TAG, "Refreshing home data")
if (!networkMonitor.isOnline.first()) {
return@runCatching
}
loadLibraries()
loadSuggestions()
loadContinueWatching()
loadNextUp()
loadLatestLibraryContent()
loadGenres()
Log.d(TAG, "Home refresh successful")
persistHomeCache()
}.onFailure { error ->
Log.w(TAG, "Home refresh failed; keeping cached content", error)
}
loadLibraries()
loadSuggestions()
loadContinueWatching()
loadNextUp()
loadLatestLibraryContent()
loadGenres()
Log.d(TAG, "Home refresh successful")
persistHomeCache()
}.onFailure { error ->
Log.w(TAG, "Home refresh failed; keeping cached content", error)
}
}.also { refreshJob = it }
}
refreshJob = job
job.join()
}
private suspend fun loadHomeCache() {