From 525c3fa0d4c456e726a9357c3d1f69965e0eef3f Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Sat, 26 Sep 2026 18:39:34 +0000 Subject: [PATCH] show playback errors only as a toast Remove the inline error line so the now playing layout never has to resize around it; the toast already surfaces the message. --- .../kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt b/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt index 5cf05b6e..ff37c271 100644 --- a/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/playback/NowPlayingScreen.kt @@ -319,14 +319,6 @@ fun NowPlayingScreen( Text(formatTime(positionMs), style = MaterialTheme.typography.bodySmall) Text(formatTime(state.durationMs), style = MaterialTheme.typography.bodySmall) } - if (state.error != null) { - Text( - text = state.error, - style = MaterialTheme.typography.bodySmall, - color = MaterialTheme.colorScheme.error, - modifier = Modifier.padding(top = 8.dp), - ) - } Row( modifier = Modifier.fillMaxWidth().padding(top = 2.dp, bottom = 8.dp), horizontalArrangement = Arrangement.SpaceBetween,