1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 10:33:36 +00:00
This commit is contained in:
hhn1611245010 2022-04-19 20:12:56 +08:00 committed by luvletter2333
parent 37c2793e69
commit 6aa94cff52
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -10666,6 +10666,7 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
boolean canPaint = newMessageObject.getDocument() == null || newMessageObject.canPreviewDocument() || newMessageObject.getMimeType().startsWith("video/");
paintButton.setVisibility(canPaint && canSendMediaToParentChatActivity() ? View.VISIBLE : View.GONE);
shareButton.setVisibility(allowShare && shareItem.getVisibility() != View.VISIBLE ? View.VISIBLE : View.GONE);
bottomButtonsLayout.setVisibility(!videoPlayerControlVisible ? View.VISIBLE : View.GONE);
if (bottomButtonsLayout.getVisibility() == View.VISIBLE) {
menuItem.hideSubItem(gallery_menu_share);