mirror of
https://github.com/samsonjs/media.git
synced 2026-04-09 11:55:46 +00:00
Fix not to show repeat button when its mode is NONE.
PiperOrigin-RevId: 330627047
This commit is contained in:
parent
49699d398d
commit
61b253bd5e
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