Disable long-press action on directory (#502)
This commit is contained in:
parent
dab850f311
commit
64117d91cc
1 changed files with 3 additions and 0 deletions
|
|
@ -210,6 +210,9 @@ class PasswordNavigationViewController: UIViewController {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let passwordTableEntry = dataSource.getPasswordTableEntry(at: indexPath)
|
let passwordTableEntry = dataSource.getPasswordTableEntry(at: indexPath)
|
||||||
|
if passwordTableEntry.isDir {
|
||||||
|
return
|
||||||
|
}
|
||||||
passwordManager.providePasswordPasteboard(with: passwordTableEntry.passwordEntity.getPath())
|
passwordManager.providePasswordPasteboard(with: passwordTableEntry.passwordEntity.getPath())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue