From a2297fb5b8b7908ff3c2522dd5395b76fdfee763 Mon Sep 17 00:00:00 2001 From: Stypox Date: Wed, 4 Aug 2021 18:41:23 +0200 Subject: [PATCH] Fix play queue theme --- .../org/schabi/newpipe/player/PlayQueueActivity.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/PlayQueueActivity.java b/app/src/main/java/org/schabi/newpipe/player/PlayQueueActivity.java index 13b66af80..ce7b82de4 100644 --- a/app/src/main/java/org/schabi/newpipe/player/PlayQueueActivity.java +++ b/app/src/main/java/org/schabi/newpipe/player/PlayQueueActivity.java @@ -1,5 +1,9 @@ package org.schabi.newpipe.player; +import static org.schabi.newpipe.player.helper.PlayerHelper.formatSpeed; +import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage; +import static org.schabi.newpipe.util.external_communication.ShareUtils.shareText; + import android.content.ComponentName; import android.content.Context; import android.content.Intent; @@ -40,15 +44,12 @@ import org.schabi.newpipe.player.playqueue.PlayQueueItemTouchCallback; import org.schabi.newpipe.util.Localization; import org.schabi.newpipe.util.NavigationHelper; import org.schabi.newpipe.util.PermissionHelper; +import org.schabi.newpipe.util.ServiceHelper; import org.schabi.newpipe.util.ThemeHelper; import java.util.Collections; import java.util.List; -import static org.schabi.newpipe.player.helper.PlayerHelper.formatSpeed; -import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage; -import static org.schabi.newpipe.util.external_communication.ShareUtils.shareText; - public final class PlayQueueActivity extends AppCompatActivity implements PlayerEventListener, SeekBar.OnSeekBarChangeListener, View.OnClickListener, PlaybackParameterDialog.Callback { @@ -83,7 +84,7 @@ public final class PlayQueueActivity extends AppCompatActivity protected void onCreate(final Bundle savedInstanceState) { assureCorrectAppLanguage(this); super.onCreate(savedInstanceState); - ThemeHelper.setTheme(this); + ThemeHelper.setTheme(this, ServiceHelper.getSelectedServiceId(this)); queueControlBinding = ActivityPlayerQueueControlBinding.inflate(getLayoutInflater()); setContentView(queueControlBinding.getRoot());