diff --git a/lib/pages/lyrics/synced_lyrics.dart b/lib/pages/lyrics/synced_lyrics.dart index 7aef92b8..2566a7a2 100644 --- a/lib/pages/lyrics/synced_lyrics.dart +++ b/lib/pages/lyrics/synced_lyrics.dart @@ -138,6 +138,7 @@ class SyncedLyrics extends HookConsumerWidget { : FontWeight.normal, fontSize: (isActive ? 28 : 26) * (textZoomLevel.value / 100), + shadows: kElevationToShadow[9], ), child: Text( lyricSlice.text, diff --git a/lib/provider/proxy_playlist/proxy_playlist_provider.dart b/lib/provider/proxy_playlist/proxy_playlist_provider.dart index cefb3b63..0982d3cb 100644 --- a/lib/provider/proxy_playlist/proxy_playlist_provider.dart +++ b/lib/provider/proxy_playlist/proxy_playlist_provider.dart @@ -141,6 +141,15 @@ class ProxyPlaylistNotifier extends PersistedStateNotifier } } + if (oldTrack != null && track != null) { + await storeTrack( + oldTrack, + track, + ); + } + } finally { + isPreSearching = false; + /// Sometimes fetching can take a lot of time, so we need to check /// if next source is playable or not at 99% progress. If not, then /// it'll be paused automatically @@ -151,15 +160,6 @@ class ProxyPlaylistNotifier extends PersistedStateNotifier if (audioPlayer.isPaused) { await audioPlayer.resume(); } - - if (oldTrack != null && track != null) { - await storeTrack( - oldTrack, - track, - ); - } - } finally { - isPreSearching = false; } }