mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Allow more Info sections swipe-back.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user