Minor ui fix,
This commit is contained in:
parent
c16729763a
commit
26e74d34e5
|
@ -257,8 +257,6 @@ class _EpisodeDetailState extends State<EpisodeDetail> {
|
|||
SizedBox(width: 5),
|
||||
Text(
|
||||
snapshot.data.seconds.toTime,
|
||||
style: TextStyle(
|
||||
color: Colors.black),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -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),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue