1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01:00

Make sure Routeractivity does the same as MainActivity

This commit is contained in:
litetex 2022-05-01 21:58:20 +02:00
parent a67927c29c
commit 6f0942ac6e

View File

@ -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