expanding image options

This commit is contained in:
Kevin G Christiano 2021-03-22 09:51:18 -04:00
parent 7a8a28a121
commit f37a839b95

View File

@ -685,7 +685,7 @@ public typealias ActionBlock = () -> ()
static func getTextAttachmentImage(name: String = "externalLink", dimension: CGFloat) -> NSTextAttachment {
let imageAttachment = NSTextAttachment()
imageAttachment.image = MVMCoreUIUtility.imageNamed(name)
imageAttachment.image = MVMCoreCache.shared()?.getImageFromRegisteredBundles(name)
imageAttachment.bounds = CGRect(x: 0, y: 0, width: dimension, height: dimension)
return imageAttachment