Skip to content

Commit 1e2d76a

Browse files
committed
Use non-static method
1 parent 6f0942a commit 1e2d76a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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;
65

76
import android.annotation.SuppressLint;
87
import android.app.IntentService;
@@ -73,6 +72,7 @@
7372
import org.schabi.newpipe.util.DeviceUtils;
7473
import org.schabi.newpipe.util.ExtractorHelper;
7574
import org.schabi.newpipe.util.ListHelper;
75+
import org.schabi.newpipe.util.Localization;
7676
import org.schabi.newpipe.util.NavigationHelper;
7777
import org.schabi.newpipe.util.PermissionHelper;
7878
import org.schabi.newpipe.util.ThemeHelper;
@@ -131,7 +131,7 @@ protected void onCreate(final Bundle savedInstanceState) {
131131
ThemeHelper.setDayNightMode(this);
132132
setTheme(ThemeHelper.isLightThemeSelected(this)
133133
? R.style.RouterActivityThemeLight : R.style.RouterActivityThemeDark);
134-
assureCorrectAppLanguage(this);
134+
Localization.assureCorrectAppLanguage(this);
135135
}
136136

137137
@Override

0 commit comments

Comments
 (0)