Skip to content

Commit

Permalink
Revert "feat: add shareout on photo items"
Browse files Browse the repository at this point in the history
This reverts commit 9d87bd4.
  • Loading branch information
NextAlone committed Feb 1, 2024
1 parent 9d87bd4 commit 1ae2b1e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 1ae2b1e

Please sign in to comment.