Refactors visual widgets from live_info_panel into their own widgets.

removes the play history widget from the live info panel.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-08 22:42:10 -07:00
co-authored by Copilot
parent 42a34712a2
commit 6893758a16
5 changed files with 224 additions and 183 deletions
+11
View File
@@ -0,0 +1,11 @@
String formatTimeWindow(String? starts, String? ends) {
String formatOne(String? value) {
if (value == null || value.length < 16) {
return '--:--';
}
return value.substring(11, 16);
}
return '${formatOne(starts)} - ${formatOne(ends)}';
}