mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various fixes
This commit is contained in:
@@ -697,7 +697,7 @@ final class ColorGridComponent: Component {
|
||||
bottomRightRadius = largeCornerRadius
|
||||
}
|
||||
|
||||
let isLight = (selectedColor?.toUIColor().lightness ?? 1.0) < 0.5 ? true : false
|
||||
let isLight = (selectedColor?.toUIColor().lightness ?? 1.0) < 0.5
|
||||
|
||||
var selectionKnobImage = ColorSelectionImage(size: CGSize(width: squareSize, height: squareSize), topLeftRadius: topLeftRadius, topRightRadius: topRightRadius, bottomLeftRadius: bottomLeftRadius, bottomRightRadius: bottomRightRadius, isLight: isLight)
|
||||
if selectionKnobImage != self.selectionKnobImage {
|
||||
|
||||
Reference in New Issue
Block a user