mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Update API scheme on layer 107.
This commit is contained in:
@@ -587,8 +587,9 @@ bool DocumentData::checkWallPaperProperties() {
|
||||
|| !dimensions.height()
|
||||
|| dimensions.width() > Storage::kMaxWallPaperDimension
|
||||
|| dimensions.height() > Storage::kMaxWallPaperDimension
|
||||
|| size > Storage::kMaxWallPaperInMemory) {
|
||||
return false;
|
||||
|| size > Storage::kMaxWallPaperInMemory
|
||||
|| mimeString() == qstr("application/x-tgwallpattern")) {
|
||||
return false; // #TODO themes support svg patterns
|
||||
}
|
||||
type = WallPaperDocument;
|
||||
validateGoodThumbnail();
|
||||
|
Reference in New Issue
Block a user