fix background/video button text being wrong when setting the video to the background from the PiP window

Changelog: changed
This commit is contained in:
Kai
2025-08-12 09:03:02 -04:00
parent 1507c70729
commit 22fca93b7e
@@ -1160,6 +1160,8 @@ class VideoDetailView : ConstraintLayout {
_player.switchToVideoMode();
allowBackground = false;
_buttonPins.getButtonByTag(TAG_BACKGROUND)?.text?.text = resources.getString(R.string.background);
} else {
_buttonPins.getButtonByTag(TAG_BACKGROUND)?.text?.text = resources.getString(R.string.video);
}
}
if(!_player.isFitMode && !_player.isFullScreen && !fragment.isInPictureInPicture)