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) {
_chooseTheme->hide();
}
if (_contactStatus) {
_contactStatus->hide();
}
hideChildren();
}

View File

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

View File

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