Allow more Info sections swipe-back.

This commit is contained in:
John Preston
2025-03-12 18:01:47 +04:00
parent 31cb2f1999
commit fd718dfd5c
4 changed files with 14 additions and 19 deletions
@@ -358,6 +358,10 @@ void Controller::setSection(not_null<ContentMemento*> memento) {
updateSearchControllers(memento);
}
bool Controller::hasBackButton() const {
return _widget->hasBackButton();
}
void Controller::updateSearchControllers(
not_null<ContentMemento*> memento) {
using Type = Section::Type;