2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Replaced PinMessageBox with generic box.

This commit is contained in:
23rd
2022-03-08 12:17:47 +03:00
parent 2b8eefccca
commit 2d28d795cf
3 changed files with 82 additions and 118 deletions

View File

@@ -1273,7 +1273,7 @@ void ToggleMessagePinned(
}
if (pin) {
navigation->parentController()->show(
Box<PinMessageBox>(item->history()->peer, item->id),
Box(PinMessageBox, item->history()->peer, item->id),
Ui::LayerOption::CloseOther);
} else {
const auto peer = item->history()->peer;