From 7eb3019c06782fe3e1baa426c024f0f3eb0a7e5f Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 1 Jan 2023 17:52:45 +0800 Subject: [PATCH] fix: profile avatar click --- .../java/org/telegram/ui/Components/ProfileGalleryView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Components/ProfileGalleryView.java b/TMessagesProj/src/main/java/org/telegram/ui/Components/ProfileGalleryView.java index 549b2e2d8..0dd17dd70 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Components/ProfileGalleryView.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Components/ProfileGalleryView.java @@ -998,6 +998,8 @@ public class ProfileGalleryView extends CircularViewPager implements Notificatio item.imageView.setRoundRadius(roundTopRadius, roundTopRadius, roundBottomRadius, roundBottomRadius); item.imageView.setTag(realPosition); + + item.imageView.setOnClickListener(__ -> callback.onClick()); return item; }