Fix default night colors

This commit is contained in:
Ali
2021-06-16 01:28:52 +04:00
parent fa8df3fcfa
commit c80bc87fea
2 changed files with 4 additions and 1 deletions

View File

@@ -274,6 +274,9 @@ final class WallpaperPatternPanelNode: ASDisplayNode {
return wallpapers.filter { wallpaper in
if case let .file(file) = wallpaper, wallpaper.isPattern, file.file.mimeType != "image/webp" {
if file.id == 0 {
return true
}
if existingIds.contains(file.file.fileId) {
return false
} else {