diff --git a/lib/ui/player_screen.dart b/lib/ui/player_screen.dart index 42bca03..806be6b 100644 --- a/lib/ui/player_screen.dart +++ b/lib/ui/player_screen.dart @@ -258,19 +258,7 @@ class _PlayerScreenHorizontalState extends State { mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - IconButton( - icon: Icon( - //Icons.subtitles, - ReFreezerIcons.lyrics_mic, - size: ScreenUtil().setWidth(12), - semanticLabel: 'Lyrics'.i18n, - ), - onPressed: () { - Navigator.of(context).push(MaterialPageRoute( - builder: (context) => - LyricsScreen(trackId: GetIt.I().mediaItem.value!.id))); - }, - ), + LyricsIconButton(12, afterOnPressed: updateColor), IconButton( icon: Icon( Icons.file_download, @@ -378,29 +366,6 @@ class _PlayerScreenVerticalState extends State { mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - /*IconButton( - icon: Icon( - //Icons.lyrics, - ReFreezerIcons.lyrics_mic, - size: ScreenUtil().setWidth(20), - semanticLabel: 'Lyrics'.i18n, - ), - onPressed: () async { - //Fix bottom buttons - SystemChrome.setSystemUIOverlayStyle( - const SystemUiOverlayStyle( - statusBarColor: Colors.transparent)); - - await Navigator.of(context).push(MaterialPageRoute( - builder: (context) => LyricsScreen( - trackId: GetIt.I() - .mediaItem - .value! - .id))); - - updateColor(); - }, - ),*/ LyricsIconButton(20, afterOnPressed: updateColor), IconButton( icon: Icon(