mirror of https://github.com/procxx/kepka.git
parent
9dc48522d8
commit
0d415837a0
|
@ -386,8 +386,10 @@ void TopBarWidget::refreshInfoButton() {
|
||||||
Ui::UserpicButton::Role::Custom,
|
Ui::UserpicButton::Role::Custom,
|
||||||
st::topBarInfoButton);
|
st::topBarInfoButton);
|
||||||
info->showSavedMessagesOnSelf(true);
|
info->showSavedMessagesOnSelf(true);
|
||||||
|
_info.destroy();
|
||||||
_info = std::move(info);
|
_info = std::move(info);
|
||||||
} else if (const auto feed = _activeChat.feed()) {
|
} else if (const auto feed = _activeChat.feed()) {
|
||||||
|
_info.destroy();
|
||||||
_info = object_ptr<Ui::FeedUserpicButton>(
|
_info = object_ptr<Ui::FeedUserpicButton>(
|
||||||
this,
|
this,
|
||||||
_controller,
|
_controller,
|
||||||
|
|
Loading…
Reference in New Issue