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:
commit
8b9fccc724
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user