From 6f0942ac6e20e17f593a6fb6935ad003fd8bd3f1 Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Sun, 1 May 2022 21:58:20 +0200 Subject: [PATCH] Make sure Routeractivity does the same as MainActivity --- app/src/main/java/org/schabi/newpipe/RouterActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/schabi/newpipe/RouterActivity.java b/app/src/main/java/org/schabi/newpipe/RouterActivity.java index adef3c0e4..d1c5c8511 100644 --- a/app/src/main/java/org/schabi/newpipe/RouterActivity.java +++ b/app/src/main/java/org/schabi/newpipe/RouterActivity.java @@ -2,6 +2,7 @@ package org.schabi.newpipe; import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.AUDIO; import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO; +import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage; import android.annotation.SuppressLint; import android.app.IntentService; @@ -127,8 +128,10 @@ public class RouterActivity extends AppCompatActivity { } } + ThemeHelper.setDayNightMode(this); setTheme(ThemeHelper.isLightThemeSelected(this) ? R.style.RouterActivityThemeLight : R.style.RouterActivityThemeDark); + assureCorrectAppLanguage(this); } @Override