This commit is contained in:
Justin Mazzocchi 2020-12-19 15:05:14 -08:00
parent e6e1816e11
commit ca2e8cf27e
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -120,6 +120,10 @@ private extension CompositionView {
} }
NSLayoutConstraint.activate(constraints) NSLayoutConstraint.activate(constraints)
}
func applyCompositionConfiguration() {
cancellables.removeAll()
compositionConfiguration.viewModel.$identification.map(\.identity.image) compositionConfiguration.viewModel.$identification.map(\.identity.image)
.sink { [weak self] in self?.avatarImageView.kf.setImage(with: $0) } .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 } .sink { [weak self] in self?.attachmentUploadView.attachmentUpload = $0 }
.store(in: &cancellables) .store(in: &cancellables)
} }
func applyCompositionConfiguration() {
}
} }