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

Inject active peer profile on the stack bottom.

Always have active peer profile on the bottom of third column stack.
This commit is contained in:
John Preston
2017-11-16 21:19:41 +04:00
parent c872cd76e1
commit 55616a4d1b
4 changed files with 81 additions and 41 deletions

View File

@@ -89,10 +89,6 @@ rpl::producer<Wrap> Controller::wrapValue() const {
return _widget->wrapValue();
}
bool Controller::hasStackHistory() const {
return _widget->hasStackHistory();
}
bool Controller::validateMementoPeer(
not_null<ContentMemento*> memento) const {
return memento->peerId() == peerId()