2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Move Window::Theme::Colorizer to style::colorizer.

This commit is contained in:
John Preston
2021-09-02 19:58:04 +03:00
parent c4982711db
commit 2554aaf3c0
12 changed files with 71 additions and 256 deletions

View File

@@ -47,6 +47,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/chat/message_bubble.h"
#include "ui/chat/chat_style.h"
#include "ui/chat/chat_theme.h"
#include "ui/style/style_palette_colorizer.h"
#include "ui/toast/toast.h"
#include "ui/toasts/common_toasts.h"
#include "calls/calls_instance.h" // Core::App().calls().inCall().
@@ -95,7 +96,7 @@ constexpr auto kMaxChatEntryHistorySize = 50;
&instance,
nullptr,
nullptr,
accent ? ColorizerFrom(*i, *accent) : Colorizer());
accent ? ColorizerFrom(*i, *accent) : style::colorizer());
Assert(loaded);
palette = instance.palette;
} else {