2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Subscription status display.

This commit is contained in:
John Preston
2022-05-31 21:11:59 +04:00
parent 1d7e901b7a
commit de31c1cf0c
16 changed files with 221 additions and 43 deletions

View File

@@ -1156,6 +1156,10 @@ rpl::producer<bool> WrapWidget::grabbingForExpanding() const {
return _grabbingForExpanding.value();
}
const Ui::RoundRect *WrapWidget::bottomSkipRounding() const {
return _content->bottomSkipRounding();
}
bool WrapWidget::hasBackButton() const {
return (wrap() == Wrap::Narrow || hasStackHistory());
}