From 97079d6608589e7f3bdba4ac401a31e40ffb353b Mon Sep 17 00:00:00 2001 From: Khoa Pham Date: Thu, 12 Oct 2017 13:46:37 +0200 Subject: [PATCH] Change to GalleryBundle.self --- Sources/Utils/GalleryBundle.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Utils/GalleryBundle.swift b/Sources/Utils/GalleryBundle.swift index 29b19386..24fe539a 100644 --- a/Sources/Utils/GalleryBundle.swift +++ b/Sources/Utils/GalleryBundle.swift @@ -3,7 +3,7 @@ import UIKit class GalleryBundle { static func image(_ named: String) -> UIImage? { - let bundle = Foundation.Bundle(for: Bundle.self) + let bundle = Foundation.Bundle(for: GalleryBundle.self) return UIImage(named: "Gallery.bundle/\(named)", in: bundle, compatibleWith: nil) } }