fix: photo viewer spoiler option

This commit is contained in:
xtaodada 2023-04-12 23:36:43 +08:00
parent 3241b3f5a7
commit 258584ac1d
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -4323,6 +4323,7 @@ public class ChatActivityEnterView extends BlurredFrameLayout implements Notific
info.ttl = photoEntry.ttl; info.ttl = photoEntry.ttl;
info.videoEditedInfo = videoEditedInfo; info.videoEditedInfo = videoEditedInfo;
info.canDeleteAfter = true; info.canDeleteAfter = true;
info.hasMediaSpoilers = photoEntry.hasSpoiler;
photos.add(info); photos.add(info);
photoEntry.reset(); photoEntry.reset();
sending = true; sending = true;