Fix theme with background with colorizer.

This commit is contained in:
John Preston 2019-09-09 08:53:16 +03:00
parent 5c13214244
commit 8fd17e2e8f
1 changed files with 2 additions and 1 deletions

View File

@ -821,7 +821,8 @@ void SaveThemeBox(
const auto background = Background()->createCurrentImage();
const auto backgroundIsTiled = Background()->tile();
const auto changed = !Data::IsThemeWallPaper(Background()->paper())
|| originalParsed.background.isEmpty();
|| originalParsed.background.isEmpty()
|| ColorizerForTheme(original.pathAbsolute);
auto parsed = ParsedTheme();
parsed.palette = StripCloudTextFields(palette);