From 1ae2b1e770fd6cd0a5d8c826f2734ad88ebedf46 Mon Sep 17 00:00:00 2001 From: Next Alone <12210746+NextAlone@users.noreply.github.com> Date: Thu, 1 Feb 2024 14:53:38 +0800 Subject: [PATCH] Revert "feat: add shareout on photo items" This reverts commit 9d87bd44282549b2a1dc43d121a550eb1c5aa769. --- .../src/main/java/org/telegram/ui/ChatActivity.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java index 14aa485d94..11a45a282d 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,9 +25814,6 @@ 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); @@ -35874,7 +35871,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) {