Cleanup unused code
This commit is contained in:
parent
7ede6d11e3
commit
0ebfd69c47
1 changed files with 0 additions and 6 deletions
|
|
@ -19,8 +19,6 @@ class PasswordNavigationDataSource: NSObject, UITableViewDataSource {
|
||||||
var filteredSections: [Section]
|
var filteredSections: [Section]
|
||||||
|
|
||||||
var isSearchActive = false
|
var isSearchActive = false
|
||||||
var cellGestureRecognizer: UIGestureRecognizer?
|
|
||||||
|
|
||||||
let hideSectionHeaderThreshold = 6
|
let hideSectionHeaderThreshold = 6
|
||||||
|
|
||||||
init(entries: [PasswordTableEntry] = []) {
|
init(entries: [PasswordTableEntry] = []) {
|
||||||
|
|
@ -44,10 +42,6 @@ class PasswordNavigationDataSource: NSObject, UITableViewDataSource {
|
||||||
let cell = tableView.dequeueReusableCell(withIdentifier: "passwordTableViewCell", for: indexPath) as! PasswordTableViewCell
|
let cell = tableView.dequeueReusableCell(withIdentifier: "passwordTableViewCell", for: indexPath) as! PasswordTableViewCell
|
||||||
let entry = getPasswordTableEntry(at: indexPath)
|
let entry = getPasswordTableEntry(at: indexPath)
|
||||||
cell.configure(with: entry)
|
cell.configure(with: entry)
|
||||||
|
|
||||||
if let gestureRecognizer = cellGestureRecognizer, !entry.isDir {
|
|
||||||
cell.addGestureRecognizer(gestureRecognizer)
|
|
||||||
}
|
|
||||||
return cell
|
return cell
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue