mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various theme editing fixes
This commit is contained in:
@@ -115,7 +115,7 @@ extension TelegramWallpaper: Codable {
|
||||
colors.append(value.rgb)
|
||||
} else if component.count <= 3, let value = Int32(component) {
|
||||
if intensity == nil {
|
||||
if value >= 0 && value <= 100 {
|
||||
if value >= -100 && value <= 100 {
|
||||
intensity = value
|
||||
} else {
|
||||
intensity = 50
|
||||
|
||||
Reference in New Issue
Block a user