Skip to content

Commit

Permalink
feat: remove fullscreen button on portrait video
Browse files Browse the repository at this point in the history
Signed-off-by: Next Alone <[email protected]>
  • Loading branch information
NextAlone committed Feb 15, 2024
1 parent 2118261 commit a893f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TMessagesProj/src/main/java/org/telegram/ui/PhotoViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -9269,8 +9269,8 @@ public void checkFullscreenButton() {
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) fullscreenButton[b].getLayoutParams();
layoutParams.topMargin = (containerView.getMeasuredHeight() + height) / 2 - dp(48);
} else {
if (fullscreenButton[b].getVisibility() != View.INVISIBLE) {
fullscreenButton[b].setVisibility(View.INVISIBLE);
if (fullscreenButton[b].getVisibility() != View.GONE) {
fullscreenButton[b].setVisibility(View.GONE);
}
}

Expand Down

0 comments on commit a893f50

Please sign in to comment.