Skip to content

Commit 6b1c67c

Browse files
authored
Merge branch 'embedded-messaging' into reflecting-new-messages
2 parents baacf11 + 27b7efe commit 6b1c67c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

swift-sdk/uicomponents/IterableEmbeddedView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ public class IterableEmbeddedView:UIView {
188188
}
189189

190190
func loadViewFromNib() -> UIView? {
191-
let bundle = Bundle(for: type(of: self))
192-
let nib = UINib(nibName: "IterableEmbeddedView", bundle: bundle)
191+
let nib = UINib(nibName: "IterableEmbeddedView", bundle: Bundle.module)
193192
let view = nib.instantiate(withOwner: self, options: nil).first as? UIView
194193
view?.backgroundColor = UIColor.clear
195194
self.clipsToBounds = false

0 commit comments

Comments
 (0)