mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-24 00:50:32 +00:00
fix: wrong language shown when rotating screen in popup player
This commit is contained in:
parent
105981b2eb
commit
9d8fcbbffe
@ -172,6 +172,7 @@ public final class PopupVideoPlayer extends Service {
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
changeAppLanguage(getAppLocale(getApplicationContext()), getResources());
|
||||
if (DEBUG) Log.d(TAG, "onConfigurationChanged() called with: newConfig = [" + newConfig + "]");
|
||||
updateScreenSize();
|
||||
updatePopupSize(popupLayoutParams.width, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user