|
|
|
@ -366,8 +366,7 @@ extension TokensViewController: UITableViewDelegate { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool { |
|
|
|
|
//Disabled deleting until we figure why it crashes when deleting |
|
|
|
|
return false |
|
|
|
|
return viewModel.canDelete(for: indexPath.row, section: indexPath.section) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) { |
|
|
|
|