Fix ios12 blue and red
This commit is contained in:
parent
7d71b2f221
commit
5a72bc9d9a
1 changed files with 2 additions and 8 deletions
|
|
@ -36,16 +36,10 @@ public struct Colors {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
public static let systemRed: UIColor = {
|
public static let systemRed: UIColor = {
|
||||||
if #available(iOS 13.0, *) {
|
return .systemRed
|
||||||
return .systemRed
|
|
||||||
}
|
|
||||||
return .red
|
|
||||||
}()
|
}()
|
||||||
|
|
||||||
public static let systemBlue: UIColor = {
|
public static let systemBlue: UIColor = {
|
||||||
if #available(iOS 13.0, *) {
|
return .systemBlue
|
||||||
return .systemBlue
|
|
||||||
}
|
|
||||||
return .blue
|
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue