File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,8 +254,6 @@ class _TimeMachinePageState extends State<TimeMachinePage> {
254254 ),
255255 songs: previewSongs,
256256 onSongTap: (index) => _playSongs (previewSongs, index),
257- highlightMinutes: true ,
258- outlined: true ,
259257 ),
260258 ),
261259 if (songs.length > previewSongs.length)
Original file line number Diff line number Diff line change @@ -31,17 +31,13 @@ class ListeningRecapCard extends StatelessWidget {
3131 required this .minutes,
3232 required this .songs,
3333 required this .onSongTap,
34- this .highlightMinutes = false ,
35- this .outlined = false ,
3634 super .key,
3735 });
3836
3937 final String periodLabel;
4038 final int minutes;
4139 final List <Map <String , dynamic >> songs;
4240 final ValueChanged <int > onSongTap;
43- final bool highlightMinutes;
44- final bool outlined;
4541
4642 @override
4743 Widget build (BuildContext context) {
@@ -71,10 +67,8 @@ class ListeningRecapCard extends StatelessWidget {
7167 '$minutes ' ,
7268 maxLines: 1 ,
7369 style: TextStyle (
74- color: highlightMinutes
75- ? colorScheme.primary
76- : colorScheme.onSurface,
77- fontSize: highlightMinutes ? 36 : 34 ,
70+ color: colorScheme.primary,
71+ fontSize: 36 ,
7872 fontWeight: FontWeight .w800,
7973 height: 1 ,
8074 ),
@@ -88,9 +82,7 @@ class ListeningRecapCard extends StatelessWidget {
8882 style: TextStyle (
8983 color: colorScheme.onSurfaceVariant,
9084 fontSize: 13 ,
91- fontWeight: highlightMinutes
92- ? FontWeight .w700
93- : FontWeight .w600,
85+ fontWeight: FontWeight .w700,
9486 ),
9587 ),
9688 ],
You can’t perform that action at this time.
0 commit comments