fixed bug
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
d9ca737896
commit
9dcd4846ce
@ -130,7 +130,9 @@ public class EmployeeTableViewCell: UITableViewCell {
|
|||||||
smallPhotoSubscriber = viewModel.$smallPhoto
|
smallPhotoSubscriber = viewModel.$smallPhoto
|
||||||
.receive(on: DispatchQueue.main)
|
.receive(on: DispatchQueue.main)
|
||||||
.sink { [weak self] image in
|
.sink { [weak self] image in
|
||||||
self?.photoImageView.image = image
|
if let image {
|
||||||
|
self?.photoImageView.image = image
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bind data to UI components
|
// Bind data to UI components
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user