Removed Ui::show from EditAdminBox and EditRestrictedBox.

This commit is contained in:
23rd
2022-03-03 10:50:48 +03:00
parent 1f8f462461
commit bdb2a5f277
2 changed files with 33 additions and 25 deletions
@@ -103,6 +103,7 @@ private:
bool canTransferOwnership() const;
not_null<Ui::SlideWrap<Ui::RpWidget>*> setupTransferButton(bool isGroup);
const Ui::BoxShow _show;
const ChatAdminRightsInfo _oldRights;
const QString _oldRank;
Fn<void(
@@ -149,6 +150,7 @@ private:
void createUntilVariants();
TimeId getRealUntilValue() const;
const Ui::BoxShow _show;
const ChatRestrictionsInfo _oldRights;
TimeId _until = 0;
Fn<void(ChatRestrictionsInfo, ChatRestrictionsInfo)> _saveCallback;