mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Theme fixes
This commit is contained in:
@@ -300,7 +300,7 @@ final class ThemeGridController: ViewController {
|
||||
var options: [String] = []
|
||||
if isPattern {
|
||||
if let color = settings.color {
|
||||
options.append("bg_color=\(UIColor(rgb: UInt32(bitPattern: color)).hexString)")
|
||||
options.append("bg_color=\(UIColor(rgb: color).hexString)")
|
||||
}
|
||||
if let intensity = settings.intensity {
|
||||
options.append("intensity=\(intensity)")
|
||||
@@ -313,7 +313,7 @@ final class ThemeGridController: ViewController {
|
||||
}
|
||||
item = slug + optionsString
|
||||
case let .color(color):
|
||||
item = "\(UIColor(rgb: UInt32(bitPattern: color)).hexString)"
|
||||
item = "\(UIColor(rgb: color).hexString)"
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user