diff --git a/Views/CompositionView.swift b/Views/CompositionView.swift index 49bfa4a..0938cd3 100644 --- a/Views/CompositionView.swift +++ b/Views/CompositionView.swift @@ -120,6 +120,10 @@ private extension CompositionView { } NSLayoutConstraint.activate(constraints) + } + + func applyCompositionConfiguration() { + cancellables.removeAll() compositionConfiguration.viewModel.$identification.map(\.identity.image) .sink { [weak self] in self?.avatarImageView.kf.setImage(with: $0) } @@ -136,8 +140,4 @@ private extension CompositionView { .sink { [weak self] in self?.attachmentUploadView.attachmentUpload = $0 } .store(in: &cancellables) } - - func applyCompositionConfiguration() { - - } }