Fix share picker cell reuse bug

This commit is contained in:
Maurice Parker 2019-09-22 16:04:21 -05:00
parent 20fa5d9e48
commit 26031f7a4d
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ class ShareFolderPickerController: UITableViewController {
cell.textLabel?.text = pickerData?.containerNames[indexPath.row] ?? ""
if pickerData?.containers[indexPath.row] === selectedContainer {
cell.accessoryType = .checkmark
} else {
cell.accessoryType = .none
}
return cell
}