Fix returning nil if image type not gif for animated

This commit is contained in:
Stephen Sykes 2020-06-14 11:54:55 +03:00
parent 967737b844
commit b58af86658

View File

@ -427,9 +427,7 @@ class FastImage
def parse_animated
@type = parse_type unless @type
return nil if @type == nil
@type == :gif ? send("parse_animated_for_#{@type}") : false
@type == :gif ? send("parse_animated_for_#{@type}") : nil
end
def fetch_using_base64(uri)