1
0
mirror of https://github.com/metabolist/metatext synced 2025-01-06 23:23:07 +01:00
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)
}
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() {
}
}