Skip to content

Commit 6f0942a

Browse files
committed
Make sure Routeractivity does the same as MainActivity
1 parent a67927c commit 6f0942a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/RouterActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.AUDIO;
44
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO;
5+
import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage;
56

67
import android.annotation.SuppressLint;
78
import android.app.IntentService;
@@ -127,8 +128,10 @@ protected void onCreate(final Bundle savedInstanceState) {
127128
}
128129
}
129130

131+
ThemeHelper.setDayNightMode(this);
130132
setTheme(ThemeHelper.isLightThemeSelected(this)
131133
? R.style.RouterActivityThemeLight : R.style.RouterActivityThemeDark);
134+
assureCorrectAppLanguage(this);
132135
}
133136

134137
@Override

0 commit comments

Comments
 (0)