mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 05:16:58 +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
|
||||
public void onPlayerViewLoaded() {
|
||||
binding.playerControls.getRoot().setVisibility(View.VISIBLE);
|
||||
// binding.playerControls.getRoot().setVisibility(View.VISIBLE);
|
||||
final ViewGroup.LayoutParams layoutParams = binding.videoPost.playerView.getLayoutParams();
|
||||
final int requiredWidth = Utils.displayMetrics.widthPixels;
|
||||
final int resultingHeight = NumberUtils
|
||||
|
Loading…
Reference in New Issue
Block a user