Fix missing icons in admin log context menu

This commit is contained in:
Eric Kotato 2022-01-11 06:35:28 +03:00
parent 60abd944b9
commit 0803dfb584

View file

@ -1459,7 +1459,7 @@ void InnerWidget::suggestRestrictParticipant(
editRestrictions(false, ChatRestrictionsInfo());
}).send();
}
});
}, user ? &st::menuIconRestrict : &st::menuIconRemove);
if (user) {
_menu->addAction(tr::lng_context_remove_from_group(tr::now), [=] {
@ -1511,7 +1511,7 @@ void InnerWidget::suggestRestrictParticipant(
editRestrictions(false, bannedRights);
}).send();
}
});
}, &st::menuIconRemove);
}
}