Fixes time display of current/next song UI. Adds localized formatting code for start times of shows current and next.

This commit is contained in:
2026-05-10 00:45:31 +00:00
parent de0a243388
commit a5e1e36ebf
4 changed files with 36 additions and 11 deletions
+3 -3
View File
@@ -29,7 +29,7 @@ class TrackCard extends StatelessWidget {
border: Border.all(color: Colors.black.withValues(alpha: 0.12)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Text(
label,
@@ -47,10 +47,10 @@ class TrackCard extends StatelessWidget {
context,
).textTheme.titleMedium?.copyWith(fontWeight: FontWeight.w700),
),
const SizedBox(height: 3),
const SizedBox(height: 6),
Text(
subtitle.isEmpty ? 'No metadata provided' : subtitle,
maxLines: 2,
maxLines: 6,
overflow: TextOverflow.ellipsis,
style: Theme.of(context).textTheme.bodySmall,
),