diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java index 11a45a282d..14aa485d94 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java @@ -1433,7 +1433,7 @@ public void sendButtonPressed(int index, VideoEditedInfo videoEditedInfo, boolea private final static int view_as_topics = 59; private final static int search = 40; - + private final static int merge_message = 200; private final static int topic_close = 60; @@ -25814,6 +25814,9 @@ public void setAutoDeleteHistory(int time, int action) { items.add(LocaleController.getString("SaveToGallery", R.string.SaveToGallery)); options.add(OPTION_SAVE_TO_GALLERY); icons.add(R.drawable.msg_gallery); + items.add(LocaleController.getString("ShareFile", R.string.ShareFile)); + options.add(OPTION_SHARE); + icons.add(R.drawable.msg_shareout); if (ConfigManager.getBooleanOrFalse(Defines.showCopyPhoto)) { items.add(LocaleController.getString("CopyPhoto", R.string.CopyPhoto)); options.add(OPTION_COPY_PHOTO); @@ -35871,7 +35874,7 @@ public void updateClip(int[] clip) { clip[1] = chatListView.getMeasuredHeight() - (chatListView.getPaddingBottom() - AndroidUtilities.dp(3)); } } - + private void updateVisibleWallpaperActions() { if (chatListView != null && chatAdapter != null) { for (int i = 0; i < chatListView.getChildCount(); ++i) {