Show queued scrobbles on Home and friendlier offline errors
CI / test (push) Successful in 2m37s

Home shows "N scrobbles waiting to send" from the live queue count.
Network failures reading history now say "Can't reach the server"
instead of surfacing raw exception text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-12 11:56:22 +01:00
1 parent fa4eab47b3
commit 2ba604ffc7
7 files changed
+50 -5

No files matched your search

@@ -30,7 +30,7 @@ class MainActivity : ComponentActivity() {
setContent {
ScrobbledTheme {
val state by connectVm.state.collectAsState()
if (state.connected) ScrobbledApp(app.history, app.scrobbles, app.trackSearch, onSignOut = connectVm::disconnect) else ConnectScreen(connectVm)
if (state.connected) ScrobbledApp(app.history, app.queue.observeCount(), app.scrobbles, app.trackSearch, onSignOut = connectVm::disconnect) else ConnectScreen(connectVm)
}
}
}