mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix contact status bar in single column layout.
This commit is contained in:
parent
b514496546
commit
c06f0b3ea1
3 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue