Fix mess commit reverting
This commit is contained in:
commit
76fcb6b6eb
|
@ -92,6 +92,13 @@ class HomeProvider with ChangeNotifier {
|
|||
} else {
|
||||
player = Player.asset(track.file!.path);
|
||||
}
|
||||
const invidiousUrl =
|
||||
'yewtu.be'; //yewtu.be vid.puffyan.us invidious.snopyta.org invidious.fdn.fr
|
||||
|
||||
player = Player.network(
|
||||
"https://$invidiousUrl/embed/${track.id}?raw=1&listen=1");
|
||||
print(track.id);
|
||||
|
||||
player!.volume = currentVolume;
|
||||
|
||||
try {
|
||||
|
|
|
@ -162,7 +162,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
controller: controller,
|
||||
backgroundColor: Colors.grey[900]!,
|
||||
minHeight: 70,
|
||||
maxHeight: 370,
|
||||
maxHeight: 70,
|
||||
builder: (height, percentage) {
|
||||
return Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
|
@ -409,9 +409,12 @@ TableRow _buildTableRow(Track track, BuildContext context) {
|
|||
return Text(track.title,
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.normal,
|
||||
color: hp.currentTrack?.title == track.title && hp.currentTrack?.artiste == track.artiste
|
||||
? Colors.green
|
||||
: Colors.grey[350],
|
||||
color:
|
||||
hp.currentTrack?.title == track.title &&
|
||||
hp.currentTrack?.artiste ==
|
||||
track.artiste
|
||||
? Colors.green
|
||||
: Colors.grey[350],
|
||||
fontSize: 14));
|
||||
}),
|
||||
const SizedBox(height: 2),
|
||||
|
|
Loading…
Reference in New Issue