We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a67927c commit 6f0942aCopy full SHA for 6f0942a
1 file changed
app/src/main/java/org/schabi/newpipe/RouterActivity.java
@@ -2,6 +2,7 @@
2
3
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.AUDIO;
4
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO;
5
+import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage;
6
7
import android.annotation.SuppressLint;
8
import android.app.IntentService;
@@ -127,8 +128,10 @@ protected void onCreate(final Bundle savedInstanceState) {
127
128
}
129
130
131
+ ThemeHelper.setDayNightMode(this);
132
setTheme(ThemeHelper.isLightThemeSelected(this)
133
? R.style.RouterActivityThemeLight : R.style.RouterActivityThemeDark);
134
+ assureCorrectAppLanguage(this);
135
136
137
@Override
0 commit comments