Merge branch 'feature/expand_image_exposure' into 'develop'

Expand image exposure

See merge request BPHV_MIPS/mvm_core_ui!694
This commit is contained in:
Pfeil, Scott Robert 2021-03-22 09:53:38 -04:00
commit 8b9fccc724

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