mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Remove twidget header.
This commit is contained in:
@@ -1036,7 +1036,7 @@ object_ptr<Ui::RpWidget> WrapWidget::createTopBarSurrogate(
|
||||
Assert(_topBar != nullptr);
|
||||
|
||||
auto result = object_ptr<Ui::AbstractButton>(parent);
|
||||
result->addClickHandler([weak = make_weak(this)]{
|
||||
result->addClickHandler([weak = Ui::MakeWeak(this)]{
|
||||
if (weak) {
|
||||
weak->_controller->showBackFromStack();
|
||||
}
|
||||
|
Reference in New Issue
Block a user