Fix contact status bar in single column layout.

This commit is contained in:
John Preston 2022-11-10 11:23:48 +04:00
parent b514496546
commit c06f0b3ea1
3 changed files with 8 additions and 0 deletions

View file

@ -3698,6 +3698,9 @@ void HistoryWidget::hideChildWidgets() {
if (_chooseTheme) { if (_chooseTheme) {
_chooseTheme->hide(); _chooseTheme->hide();
} }
if (_contactStatus) {
_contactStatus->hide();
}
hideChildren(); hideChildren();
} }

View file

@ -840,6 +840,10 @@ void ContactStatus::show() {
_bar.show(); _bar.show();
} }
void ContactStatus::hide() {
_bar.hide();
}
TopicReopenBar::TopicReopenBar( TopicReopenBar::TopicReopenBar(
not_null<Ui::RpWidget*> parent, not_null<Ui::RpWidget*> parent,
not_null<Data::ForumTopic*> topic) not_null<Data::ForumTopic*> topic)

View file

@ -73,6 +73,7 @@ public:
bool showInForum); bool showInForum);
void show(); void show();
void hide();
[[nodiscard]] SlidingBar &bar() { [[nodiscard]] SlidingBar &bar() {
return _bar; return _bar;