Fix an animation issue when clicking Password button in the root folder
This commit is contained in:
parent
347a6d7750
commit
73ab4f8759
1 changed files with 5 additions and 1 deletions
|
|
@ -284,7 +284,11 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
|
||||||
|
|
||||||
func backAction(_ sender: Any?) {
|
func backAction(_ sender: Any?) {
|
||||||
guard Defaults[.isShowFolderOn] else { return }
|
guard Defaults[.isShowFolderOn] else { return }
|
||||||
reloadTableView(parent: parentPasswordEntity?.parent, anim: transitionFromLeft)
|
var anim: CATransition? = transitionFromLeft
|
||||||
|
if parentPasswordEntity == nil {
|
||||||
|
anim = nil
|
||||||
|
}
|
||||||
|
reloadTableView(parent: parentPasswordEntity?.parent, anim: anim)
|
||||||
}
|
}
|
||||||
|
|
||||||
func longPressAction(_ gesture: UILongPressGestureRecognizer) {
|
func longPressAction(_ gesture: UILongPressGestureRecognizer) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue