2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Move all background helper methods to chat_theme module.

This commit is contained in:
John Preston
2021-08-27 14:32:18 +03:00
parent 0a1e84ddb2
commit f5a323e40a
16 changed files with 491 additions and 299 deletions

View File

@@ -996,7 +996,7 @@ void MainMenu::refreshBackground() {
prepared.size());
auto backgroundImage = paper.isPattern()
? Data::GenerateWallPaper(
? Ui::GenerateBackgroundImage(
fill * cIntRetinaFactor(),
paper.backgroundColors(),
paper.gradientRotation(),