1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 06:37:30 +00:00

Hide player controls initially for video post. Fixes https://github.com/austinhuang0131/barinsta/issues/360

This commit is contained in:
Ammar Githam 2021-03-20 11:07:17 +09:00
parent 0903804523
commit 737931821e

View File

@ -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