Minor ui fix,

This commit is contained in:
stonega 2021-02-11 13:02:39 +08:00
parent c16729763a
commit 26e74d34e5
3 changed files with 9 additions and 10 deletions

View File

@ -257,8 +257,6 @@ class _EpisodeDetailState extends State<EpisodeDetail> {
SizedBox(width: 5),
Text(
snapshot.data.seconds.toTime,
style: TextStyle(
color: Colors.black),
),
],
),

View File

@ -63,8 +63,7 @@ class PlayerWidget extends StatelessWidget {
child:
Column(mainAxisAlignment: MainAxisAlignment.start, children: <Widget>[
Selector<AudioPlayerNotifier, Tuple2<EpisodeBrief, double>>(
selector: (_, audio) =>
Tuple2(audio.episode, audio.seekSliderValue),
selector: (_, audio) => Tuple2(audio.episode, audio.seekSliderValue),
builder: (_, data, __) {
final c = data.item1.backgroudColor(context);
return SizedBox(
@ -964,7 +963,6 @@ class _ChaptersWidgetState extends State<ChaptersWidget> {
SizedBox(width: 5),
Text(
chapters.startTime.toTime,
style: TextStyle(color: Colors.black),
),
],
),

View File

@ -333,11 +333,14 @@ class __QueueState extends State<_Queue> {
key: ValueKey(episode.enclosureUrl),
);
} else {
return EpisodeCard(episode,
key: ValueKey('playing'),
isPlaying: true,
canReorder: true,
tileColor: context.primaryColorDark);
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 10),
child: EpisodeCard(episode,
key: ValueKey('playing'),
isPlaying: true,
canReorder: true,
tileColor: context.primaryColorDark),
);
}
}).toList()
: episodes