2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-11 14:06:25 +00:00

Removed redundant peerListShowBox / peerListHideLayer from delegates.

This commit is contained in:
23rd
2023-11-08 23:43:42 +03:00
parent 135ffb13fd
commit 282c076931
21 changed files with 35 additions and 148 deletions

View File

@@ -685,7 +685,7 @@ void ChooseRecipientBoxController::rowClicked(not_null<PeerListRow*> row) {
}, box->lifetime());
});
*weak = owned.data();
delegate()->peerListShowBox(std::move(owned));
delegate()->peerListUiShow()->showBox(std::move(owned));
return;
}
const auto history = peer->owner().history(peer);