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