Skip to content

Commit

Permalink
Update path for images to fix issue where bubble images don't load
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherlouk authored and SD10 committed Sep 12, 2017
1 parent a4cf7b8 commit b12c129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MessageStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public enum MessageStyle {
private var imagePath: String? {
guard let imageName = imageName else { return nil }
let assetBundle = Bundle.messageKitAssetBundle()
return assetBundle.path(forResource: imageName, ofType: "png", inDirectory: "Images")
return assetBundle.path(forResource: imageName, ofType: "png")
}

private func stretch(_ image: UIImage) -> UIImage {
Expand Down

0 comments on commit b12c129

Please sign in to comment.