2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support colorizing of the default palette.

This commit is contained in:
John Preston
2021-09-02 20:48:12 +03:00
parent 2554aaf3c0
commit 444f21fd7e
4 changed files with 33 additions and 15 deletions

View File

@@ -1036,7 +1036,7 @@ void ChatBackground::setTestingTheme(Instance &&theme) {
}
void ChatBackground::setTestingDefaultTheme() {
style::main_palette::reset();
style::main_palette::reset(ColorizerForTheme(QString()));
saveAdjustableColors();
saveForRevert();