Fix player UI for uploaded MP3s
This commit is contained in:
parent
df3b7d3d63
commit
267e898e0c
|
@ -70,7 +70,7 @@ class PlayerBar extends StatelessWidget {
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
),
|
),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
AudioService.currentMediaItem.displaySubtitle,
|
AudioService.currentMediaItem.displaySubtitle ?? '',
|
||||||
overflow: TextOverflow.clip,
|
overflow: TextOverflow.clip,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
),
|
),
|
||||||
|
|
|
@ -152,7 +152,7 @@ class _PlayerScreenHorizontalState extends State<PlayerScreenHorizontal> {
|
||||||
),
|
),
|
||||||
Container(height: 4,),
|
Container(height: 4,),
|
||||||
Text(
|
Text(
|
||||||
AudioService.currentMediaItem.displaySubtitle,
|
AudioService.currentMediaItem.displaySubtitle ?? '',
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
overflow: TextOverflow.clip,
|
overflow: TextOverflow.clip,
|
||||||
|
@ -280,7 +280,7 @@ class _PlayerScreenVerticalState extends State<PlayerScreenVertical> {
|
||||||
),
|
),
|
||||||
Container(height: 4,),
|
Container(height: 4,),
|
||||||
Text(
|
Text(
|
||||||
AudioService.currentMediaItem.displaySubtitle,
|
AudioService.currentMediaItem.displaySubtitle ?? '',
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
overflow: TextOverflow.clip,
|
overflow: TextOverflow.clip,
|
||||||
|
|
Loading…
Reference in a new issue