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
1 changed files with 4 additions and 4 deletions

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() {
}
} }