From 737931821ecf24545f5f1896e44e3018a6186f77 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sat, 20 Mar 2021 11:07:17 +0900 Subject: [PATCH] Hide player controls initially for video post. Fixes https://github.com/austinhuang0131/barinsta/issues/360 --- .../java/awais/instagrabber/fragments/PostViewV2Fragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/fragments/PostViewV2Fragment.java b/app/src/main/java/awais/instagrabber/fragments/PostViewV2Fragment.java index 0ca2a30e..68c76a61 100644 --- a/app/src/main/java/awais/instagrabber/fragments/PostViewV2Fragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/PostViewV2Fragment.java @@ -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