Permalink
Browse files

Remove redundant code

  • Loading branch information...
rinov committed Sep 5, 2017
1 parent a293931 commit a24363dd0ca95bb10aeb2f2047e51b841dfc045b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gemini/GeminiAnimationModel.swift
@@ -184,7 +184,7 @@ final class GeminiAnimationModel {
// ec = End backgroundColor components
let endColorComponents = endBackgroundColor?.cgColor.components ?? []
if startColorComponents.isEmpty || startColorComponents.count < 3 || endColorComponents.isEmpty || endColorComponents.count < 3 {
if startColorComponents.count < 3 || endColorComponents.count < 3 {
return nil
}

0 comments on commit a24363d

Please sign in to comment.