mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-06 14:27:46 +00:00
Fix build for macOS.
This commit is contained in:
parent
d5820e7a5a
commit
d684c8057c
@ -26,6 +26,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "boxes/self_destruction_box.h"
|
||||
#include "core/application.h"
|
||||
#include "core/core_settings.h"
|
||||
#include "ui/chat/chat_style.h"
|
||||
#include "ui/wrap/vertical_layout.h"
|
||||
#include "ui/wrap/slide_wrap.h"
|
||||
#include "ui/wrap/fade_wrap.h"
|
||||
|
@ -156,7 +156,6 @@ private:
|
||||
Animations::Simple _backgroundFade;
|
||||
CacheBackgroundRequest _backgroundCachingRequest;
|
||||
CacheBackgroundResult _backgroundNext;
|
||||
int _backgroundAddRotation = 0;
|
||||
QSize _willCacheForArea;
|
||||
crl::time _lastAreaChangeTime = 0;
|
||||
std::optional<base::Timer> _cacheBackgroundTimer;
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user