mirror of
https://github.com/samsonjs/media.git
synced 2026-04-11 12:15:47 +00:00
Fix not to show repeat button when its mode is NONE.
PiperOrigin-RevId: 330627047
This commit is contained in:
parent
b2b08ade99
commit
222ba22b10
1 changed files with 2 additions and 0 deletions
|
|
@ -716,6 +716,8 @@ public class StyledPlayerControlView extends FrameLayout {
|
|||
controlViewLayoutManager.setShowButton(shuffleButton, showShuffleButton);
|
||||
controlViewLayoutManager.setShowButton(subtitleButton, showSubtitleButton);
|
||||
controlViewLayoutManager.setShowButton(vrButton, showVrButton);
|
||||
controlViewLayoutManager.setShowButton(
|
||||
repeatToggleButton, repeatToggleModes != RepeatModeUtil.REPEAT_TOGGLE_MODE_NONE);
|
||||
addOnLayoutChangeListener(this::onLayoutChange);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue