mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Add support for pattern wallpapers.
This commit is contained in:
@@ -1057,7 +1057,7 @@ bool MainWidget::sendMessageFail(const RPCError &error) {
|
||||
}
|
||||
|
||||
void MainWidget::cacheBackground() {
|
||||
if (Window::Theme::Background()->color()) {
|
||||
if (Window::Theme::Background()->colorForFill()) {
|
||||
return;
|
||||
} else if (Window::Theme::Background()->tile()) {
|
||||
auto &bg = Window::Theme::Background()->pixmapForTiled();
|
||||
|
Reference in New Issue
Block a user