From 28bbade08fe8dcf75d93ad27f83acc9f9815a80c Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 21 Jan 2025 11:15:41 -0600 Subject: [PATCH] fixed bug Signed-off-by: Matt Bruce --- EmployeeDirectory/Views/EmployeeTableViewCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/EmployeeDirectory/Views/EmployeeTableViewCell.swift b/EmployeeDirectory/Views/EmployeeTableViewCell.swift index af15ad8..722cfd8 100644 --- a/EmployeeDirectory/Views/EmployeeTableViewCell.swift +++ b/EmployeeDirectory/Views/EmployeeTableViewCell.swift @@ -128,6 +128,7 @@ public class EmployeeTableViewCell: UITableViewCell { // Bind the image to the photoImageView smallPhotoSubscriber = viewModel.$smallPhoto + .compactMap { $0 } .receive(on: DispatchQueue.main) .sink { [weak self] image in self?.photoImageView.image = image