Skip to content

Commit

Permalink
feat: add shareout on photo items
Browse files Browse the repository at this point in the history
Signed-off-by: Next Alone <[email protected]>
  • Loading branch information
NextAlone committed Feb 1, 2024
1 parent 6ab6759 commit 9d87bd4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 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,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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 9d87bd4

Please sign in to comment.