Skip to content

Commit

Permalink
Fix race condition in player backdrop
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Jul 14, 2024
1 parent b22095a commit 9e41a8b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ protected void onPostExecute(MyDetailsOverviewRow detailsOverviewRow) {
}

public void setBaseItem(BaseItemDto item) {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) return;

mBaseItem = item;
backgroundService.getValue().setBackground(item);
if (mBaseItem != null) {
Expand Down

0 comments on commit 9e41a8b

Please sign in to comment.