diff --git a/internal/photoprism/colors.go b/internal/photoprism/colors.go index ce5f8765a..5b52ae7e2 100644 --- a/internal/photoprism/colors.go +++ b/internal/photoprism/colors.go @@ -91,8 +91,8 @@ func (c IndexedColor) Hex() string { } func (c IndexedColors) Hex() (result string) { - for _, materialColor := range c { - result += materialColor.Hex() + for _, indexedColor := range c { + result += indexedColor.Hex() } return result