| 493 | } |
| 494 | |
| 495 | void ChatBackground::initialRead() { |
| 496 | if (started()) { |
| 497 | return; |
| 498 | } |
| 499 | if (_themeObject.pathAbsolute.isEmpty() && !nightMode()) { |
| 500 | applyDefaultThemeAccentColorizer(); |
| 501 | } |
| 502 | if (!Local::readBackground()) { |
| 503 | set(Data::ThemeWallPaper()); |
| 504 | } |
| 505 | if (_localStoredTileDayValue) { |
| 506 | _tileDayValue = *_localStoredTileDayValue; |
| 507 | } |
| 508 | if (_localStoredTileNightValue) { |
| 509 | _tileNightValue = *_localStoredTileNightValue; |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | void ChatBackground::start() { |
| 514 | saveAdjustableColors(); |
nothing calls this directly
no test coverage detected