mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 08:37:29 +00:00
Hide player controls initially for video post. Fixes https://github.com/austinhuang0131/barinsta/issues/360
This commit is contained in:
parent
0903804523
commit
737931821e
@ -1206,7 +1206,7 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment im
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPlayerViewLoaded() {
|
public void onPlayerViewLoaded() {
|
||||||
binding.playerControls.getRoot().setVisibility(View.VISIBLE);
|
// binding.playerControls.getRoot().setVisibility(View.VISIBLE);
|
||||||
final ViewGroup.LayoutParams layoutParams = binding.videoPost.playerView.getLayoutParams();
|
final ViewGroup.LayoutParams layoutParams = binding.videoPost.playerView.getLayoutParams();
|
||||||
final int requiredWidth = Utils.displayMetrics.widthPixels;
|
final int requiredWidth = Utils.displayMetrics.widthPixels;
|
||||||
final int resultingHeight = NumberUtils
|
final int resultingHeight = NumberUtils
|
||||||
|
Loading…
Reference in New Issue
Block a user