Fix share picker cell reuse bug
This commit is contained in:
parent
20fa5d9e48
commit
26031f7a4d
|
@ -37,6 +37,8 @@ class ShareFolderPickerController: UITableViewController {
|
||||||
cell.textLabel?.text = pickerData?.containerNames[indexPath.row] ?? ""
|
cell.textLabel?.text = pickerData?.containerNames[indexPath.row] ?? ""
|
||||||
if pickerData?.containers[indexPath.row] === selectedContainer {
|
if pickerData?.containers[indexPath.row] === selectedContainer {
|
||||||
cell.accessoryType = .checkmark
|
cell.accessoryType = .checkmark
|
||||||
|
} else {
|
||||||
|
cell.accessoryType = .none
|
||||||
}
|
}
|
||||||
return cell
|
return cell
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue