From f211fc8450a4345c44b45c526f610d9fc1b35865 Mon Sep 17 00:00:00 2001 From: NekoInverter <42698724+NekoInverter@users.noreply.github.com> Date: Wed, 1 Apr 2020 18:22:15 +0800 Subject: [PATCH] Enable youtube pip --- .../java/org/telegram/ui/Components/EmbedBottomSheet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Components/EmbedBottomSheet.java b/TMessagesProj/src/main/java/org/telegram/ui/Components/EmbedBottomSheet.java index 2fb7092f7..dfcd84f7e 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Components/EmbedBottomSheet.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Components/EmbedBottomSheet.java @@ -935,9 +935,9 @@ public class EmbedBottomSheet extends BottomSheet { if (videoView.getTextureImageView() != null) { videoView.getTextureImageView().setVisibility(View.INVISIBLE); } - if ("disabled".equals(MessagesController.getInstance(currentAccount).youtubePipType)) { + /*if ("disabled".equals(MessagesController.getInstance(currentAccount).youtubePipType)) { pipButton.setVisibility(View.GONE); - } + }*/ } if (orientationEventListener.canDetectOrientation()) {