fix(android): close HomeViewModel class brace
Refactor of the combine chain dropped the closing `}` for the HomeViewModel class, so the screen composable below ended up nested inside the ViewModel and the file's brace count was off by one. Cascaded into "Unresolved reference HomeScreen" downstream. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -142,6 +142,7 @@ class HomeViewModel @Inject constructor(
|
||||
val merged = sections.copy(playlists = playlists)
|
||||
if (merged.isAllEmpty) HomeUiState.Empty else HomeUiState.Success(merged)
|
||||
}.catch { e -> emit(HomeUiState.Error(e.message ?: "Home load failed")) }
|
||||
}
|
||||
|
||||
// ─── Screen ──────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user