Skip to content

Commit

Permalink
Change to GalleryBundle.self
Browse files Browse the repository at this point in the history
  • Loading branch information
onmyway133 committed Oct 12, 2017
1 parent 2608272 commit 97079d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Utils/GalleryBundle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 97079d6

Please sign in to comment.