diff --git a/Agrume.podspec b/Agrume.podspec index 6ba0f04..c9454e1 100644 --- a/Agrume.podspec +++ b/Agrume.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Agrume" - s.version = "5.0.2" + s.version = "5.0.3" s.summary = "An iOS image viewer written in Swift." s.swift_version = "4.1" diff --git a/Agrume/Agrume.swift b/Agrume/Agrume.swift index 3ec57bb..6db0c70 100644 --- a/Agrume/Agrume.swift +++ b/Agrume/Agrume.swift @@ -61,7 +61,7 @@ public final class Agrume: UIViewController { /// - Parameter startIndex: The optional start index when showing multiple images /// - Parameter background: The background configuration public convenience init(dataSource: AgrumeDataSource, startIndex: Int = 0, background: Background = .colored(.black)) { - self.init(dataSource: dataSource, startIndex: startIndex, background: background) + self.init(images: nil, dataSource: dataSource, startIndex: startIndex, background: background) } /// Initialize with an array of images