Merge pull request #5792 from TeamNewPipe/resize_mode
Fix last resize mode not being restored correctly
This commit is contained in:
commit
feb65cf8f3
|
@ -484,8 +484,9 @@ public final class PlayerHelper {
|
|||
break;
|
||||
}
|
||||
|
||||
// save the new resize mode so it can be restored in a future session
|
||||
player.getPrefs().edit().putInt(
|
||||
player.getContext().getString(R.string.last_resize_mode), resizeMode).apply();
|
||||
player.getContext().getString(R.string.last_resize_mode), newResizeMode).apply();
|
||||
return newResizeMode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue