mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Save wallpaper settings locally.
This commit is contained in:
@@ -395,7 +395,8 @@ void Generator::paintHistoryBackground() {
|
||||
auto background = _theme.background;
|
||||
auto tiled = _theme.tiled;
|
||||
if (background.isNull()) {
|
||||
if (_current.backgroundId == Window::Theme::kThemeBackground) {
|
||||
const auto fakePaper = Data::WallPaper(_current.backgroundId);
|
||||
if (Data::IsThemeWallPaper(fakePaper)) {
|
||||
background.load(qsl(":/gui/art/bg.jpg"));
|
||||
tiled = false;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user