mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Support server-side colors by index, up to three.
This commit is contained in:
@@ -839,7 +839,9 @@ ForwardsPrivacyController::ForwardsPrivacyController(
|
||||
not_null<Window::SessionController*> controller)
|
||||
: SimpleElementDelegate(controller, [] {})
|
||||
, _controller(controller)
|
||||
, _chatStyle(std::make_unique<Ui::ChatStyle>()) {
|
||||
, _chatStyle(
|
||||
std::make_unique<Ui::ChatStyle>(
|
||||
controller->session().colorIndicesValue())) {
|
||||
_chatStyle->apply(controller->defaultChatTheme().get());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user