mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
Fix controls not hiding correctly when switching player
This commit is contained in:
parent
95631dba46
commit
a454a41b51
@ -2186,8 +2186,8 @@ public final class Player implements
|
|||||||
startProgressLoop();
|
startProgressLoop();
|
||||||
}
|
}
|
||||||
|
|
||||||
controlsVisibilityHandler.removeCallbacksAndMessages(null);
|
// if we are e.g. switching players, hide controls
|
||||||
animate(binding.playbackControlRoot, false, DEFAULT_CONTROLS_DURATION);
|
hideControls(DEFAULT_CONTROLS_DURATION, 0);
|
||||||
|
|
||||||
binding.playbackSeekBar.setEnabled(false);
|
binding.playbackSeekBar.setEnabled(false);
|
||||||
binding.playbackSeekBar.getThumb()
|
binding.playbackSeekBar.getThumb()
|
||||||
|
Loading…
Reference in New Issue
Block a user