From c364b04778ff6dbefc686ab4ce9bab79c41bf499 Mon Sep 17 00:00:00 2001 From: Brandon Haugen Date: Fri, 29 Jun 2018 16:01:35 -0500 Subject: [PATCH] Update method name for changing props on CellSizeCalculator This should be done in viewDidLoad, not configureAvatarView --- Documentation/FAQs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/FAQs.md b/Documentation/FAQs.md index e0ef0d6b..0b049c36 100644 --- a/Documentation/FAQs.md +++ b/Documentation/FAQs.md @@ -33,7 +33,7 @@ func configureAvatarView(_ avatarView: AvatarView, for message: MessageType, at If you would also like to remove the space the `AvatarView` occupies, you have to change the properties `outgoingAvatarSize` or `incomingAvatarSize` of the `CellSizeCalculator` object for the respective message to `CGSize.zero` in -`configureAvatarView(_:AvatarView,for:MessageType,at:IndexPath,in:MessagesCollectionView)`. +`viewDidLoad`. ```Swift if let layout = messagesCollectionView.collectionViewLayout as? MessagesCollectionViewFlowLayout {