mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix contact status bar in single column layout.
This commit is contained in:
@@ -3698,6 +3698,9 @@ void HistoryWidget::hideChildWidgets() {
|
|||||||
if (_chooseTheme) {
|
if (_chooseTheme) {
|
||||||
_chooseTheme->hide();
|
_chooseTheme->hide();
|
||||||
}
|
}
|
||||||
|
if (_contactStatus) {
|
||||||
|
_contactStatus->hide();
|
||||||
|
}
|
||||||
hideChildren();
|
hideChildren();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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)
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user