2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 17:06:03 +00:00

Fix build for macOS.

This commit is contained in:
John Preston
2021-08-28 08:51:39 +03:00
parent d5820e7a5a
commit d684c8057c
3 changed files with 2 additions and 2 deletions

View File

@@ -1432,7 +1432,7 @@ void SessionController::cacheChatTheme(const Data::CloudTheme &data) {
this,
descriptor = std::move(descriptor),
weak = base::make_weak(this)
]{
]() mutable {
crl::on_main(weak,[
this,
result = std::make_shared<Ui::ChatTheme>(std::move(descriptor))