Skip to content

Commit

Permalink
fix: remote custom wallpaper flags
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Jan 24, 2024
1 parent ce42670 commit 93af113
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ private void loadWallPaperFromServer() {
wallpaper.id = 0;
wallpaper.isDefault = false;
wallpaper.dark = false;
wallpaper.flags |= 4;
wallpaper.settings = info.parseSettings();
info.flags |= 1;
info.wallPaper = wallpaper;
Expand All @@ -154,6 +155,7 @@ private void loadWallPaperFromServer() {
if (response instanceof TLRPC.TL_wallPaper) {
info.flags |= 1;
info.wallPaper = (TLRPC.WallPaper) response;
info.wallPaper.flags |= 4;
info.wallPaper.settings = info.parseSettings();
saveWallPaperInfo();
}
Expand Down

0 comments on commit 93af113

Please sign in to comment.