From 55e7a5e7e3f45df9a29961070a78e13ffc1f0052 Mon Sep 17 00:00:00 2001 From: Pato05 Date: Sat, 27 Apr 2024 02:32:53 +0200 Subject: [PATCH] LET ME SLEEP PLEASE!! --- lib/ui/player_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/player_screen.dart b/lib/ui/player_screen.dart index 7c7409f..9ad2dc0 100644 --- a/lib/ui/player_screen.dart +++ b/lib/ui/player_screen.dart @@ -909,7 +909,7 @@ class _BigAlbumArtState extends State with WidgetsBindingObserver { void _listenForMediaItemChanges() { if (_currentItemSub != null) return; - if (audioHandler.mediaItem.hasValue) { + if (audioHandler.mediaItem.hasValue && _pageController.hasClients) { _pageController.jumpToPage(playerHelper.queueIndex); }