Change tag font color to black.

This commit is contained in:
stonega 2021-01-03 02:12:55 +08:00
parent ee2b3ff889
commit f848f73bbf
1 changed files with 13 additions and 6 deletions

View File

@ -230,9 +230,11 @@ class _EpisodeDetailState extends State<EpisodeDetail> {
EdgeInsets.symmetric(horizontal: 10.0), EdgeInsets.symmetric(horizontal: 10.0),
alignment: Alignment.center, alignment: Alignment.center,
child: Text( child: Text(
s.minsCount( s.minsCount(
widget.episodeItem.duration ~/ 60), widget.episodeItem.duration ~/ 60,
style: context.textTheme.button)), ),
style: TextStyle(color: Colors.black),
)),
if (widget.episodeItem.enclosureLength != null && if (widget.episodeItem.enclosureLength != null &&
widget.episodeItem.enclosureLength != 0) widget.episodeItem.enclosureLength != 0)
Container( Container(
@ -245,8 +247,9 @@ class _EpisodeDetailState extends State<EpisodeDetail> {
padding: EdgeInsets.symmetric(horizontal: 10.0), padding: EdgeInsets.symmetric(horizontal: 10.0),
alignment: Alignment.center, alignment: Alignment.center,
child: Text( child: Text(
'${(widget.episodeItem.enclosureLength) ~/ 1000000}MB', '${(widget.episodeItem.enclosureLength) ~/ 1000000}MB',
style: context.textTheme.button), style: TextStyle(color: Colors.black),
),
), ),
FutureBuilder<PlayHistory>( FutureBuilder<PlayHistory>(
future: _getPosition(widget.episodeItem), future: _getPosition(widget.episodeItem),
@ -286,7 +289,11 @@ class _EpisodeDetailState extends State<EpisodeDetail> {
), ),
), ),
SizedBox(width: 5), SizedBox(width: 5),
Text(snapshot.data.seconds.toTime), Text(
snapshot.data.seconds.toTime,
style: TextStyle(
color: Colors.black),
),
], ],
), ),
), ),