mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
rename local hex var to hexValue to make it distinct from property name
This commit is contained in:
parent
90da2e2988
commit
68fe58d9f3
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ public extension Color {
|
|||
}
|
||||
|
||||
var hex: String? {
|
||||
if let hex = toHex() {
|
||||
return "#\(hex)"
|
||||
if let hexValue = toHex() {
|
||||
return "#\(hexValue)"
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue