fix delete as read button hiding

This commit is contained in:
vivabelarus 2022-03-27 20:51:47 +04:00
parent 2a8f267269
commit ffb80f84d7

View file

@ -5150,7 +5150,8 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
for (int i = 0; i < 6; i++) {
final int a = order[i];
if (a == 5 && (SharedConfig.fakePasscodeActivatedIndex != -1 || UserObject.isUserSelf(user))) {
if (a == 5 && (SharedConfig.fakePasscodeActivatedIndex != -1 || UserObject.isUserSelf(user)
|| !SharedConfig.showDeleteAfterRead)) {
continue;
}