diff --git a/pass/Controllers/PasswordsViewController.swift b/pass/Controllers/PasswordsViewController.swift index d356875..c9aa608 100644 --- a/pass/Controllers/PasswordsViewController.swift +++ b/pass/Controllers/PasswordsViewController.swift @@ -555,6 +555,8 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV } @objc func actOnReloadTableViewRelatedNotification() { + // Reset selectedScopeButtonIndex to make sure the correct reloadTableView + searchController.searchBar.selectedScopeButtonIndex = 0 DispatchQueue.main.async { [weak weakSelf = self] in guard let strongSelf = weakSelf else { return } strongSelf.initPasswordsTableEntries(parent: nil)