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:
+3
-3
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user