2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Show tdesktop cloud themes in a box.

This commit is contained in:
John Preston
2019-09-03 18:24:51 +03:00
parent 95afcbb485
commit ac8f924909
28 changed files with 684 additions and 192 deletions

View File

@@ -126,7 +126,7 @@ ApiWrap::RequestMessageDataCallback replyEditMessageDataCallback() {
}
void ActivateWindow(not_null<Window::SessionController*> controller) {
const auto window = controller->window();
const auto window = controller->widget();
window->activateWindow();
Core::App().activateWindowDelayed(window);
}
@@ -1749,7 +1749,7 @@ void HistoryWidget::showHistory(
_channel = peerToChannel(_peer->id);
_canSendMessages = _peer->canWrite();
_contactStatus = std::make_unique<HistoryView::ContactStatus>(
&controller()->window()->controller(),
&controller()->window(),
this,
_peer);
_contactStatus->heightValue() | rpl::start_with_next([=] {