Allow custom-styled left button in BoxContent.

This commit is contained in:
John Preston 2021-11-16 09:51:19 +04:00
parent bd7c085bd0
commit f18fbbc2a1

View file

@ -160,6 +160,15 @@ public:
std::move(clickCallback),
st);
}
QPointer<RoundButton> addLeftButton(
rpl::producer<QString> text,
Fn<void()> clickCallback,
const style::RoundButton& st) {
return getDelegate()->addLeftButton(
std::move(text),
std::move(clickCallback),
st);
}
void showLoading(bool show) {
getDelegate()->showLoading(show);
}