2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix pattern wallpapers with themes.

This commit is contained in:
John Preston
2019-01-29 13:57:29 +03:00
parent df0fe0a460
commit fd8e9dad92
5 changed files with 80 additions and 65 deletions

View File

@@ -1596,7 +1596,7 @@ void MainWidget::setReadyChatBackground(
? Data::DefaultWallPaper()
: background;
Background()->setImage(ready, std::move(image));
Background()->set(ready, std::move(image));
const auto tile = Data::IsLegacy1DefaultWallPaper(ready);
Background()->setTile(tile);
Ui::ForceFullRepaint(this);