diff --git a/ui/layers/box_content.h b/ui/layers/box_content.h index 1870a99..cd8a672 100644 --- a/ui/layers/box_content.h +++ b/ui/layers/box_content.h @@ -160,6 +160,15 @@ public: std::move(clickCallback), st); } + QPointer addLeftButton( + rpl::producer text, + Fn clickCallback, + const style::RoundButton& st) { + return getDelegate()->addLeftButton( + std::move(text), + std::move(clickCallback), + st); + } void showLoading(bool show) { getDelegate()->showLoading(show); }