diff --git a/pass/Base.lproj/Main.storyboard b/pass/Base.lproj/Main.storyboard index 33f64a3..01129e4 100644 --- a/pass/Base.lproj/Main.storyboard +++ b/pass/Base.lproj/Main.storyboard @@ -21,14 +21,14 @@ - + - + - + @@ -39,7 +39,7 @@ - + @@ -81,11 +81,11 @@ - + - + @@ -101,7 +101,7 @@ - + @@ -112,7 +112,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -320,7 +320,7 @@ - + @@ -349,7 +349,7 @@ - + @@ -377,7 +377,7 @@ - + @@ -402,20 +402,20 @@ - + - + - + - + @@ -434,20 +434,20 @@ - + - + - + - + @@ -513,18 +513,18 @@ - + - + - + @@ -541,7 +541,7 @@ - + @@ -574,7 +574,7 @@ - + @@ -1089,7 +1089,7 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + @@ -1106,18 +1106,18 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + - + - + @@ -1141,7 +1141,7 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + @@ -1158,11 +1158,11 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + - + @@ -1321,18 +1321,18 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + - + - + @@ -1386,7 +1386,7 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + @@ -1809,11 +1809,11 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + - + @@ -1830,11 +1830,11 @@ Secret Question 1: What is your childhood best friend's most bizarre superhero f - + - + diff --git a/pass/Controllers/PasswordNavigationViewController.swift b/pass/Controllers/PasswordNavigationViewController.swift index ae3afe7..c635f80 100644 --- a/pass/Controllers/PasswordNavigationViewController.swift +++ b/pass/Controllers/PasswordNavigationViewController.swift @@ -133,6 +133,7 @@ class PasswordNavigationViewController: UIViewController { configureTableViewDataSource(in: dir, isShowFolder: Defaults.isShowFolderOn) tableView.addGestureRecognizer(gestureRecognizer) tableView.delegate = self + tableView.layoutIfNeeded() tableView.contentInset.top = 8 let atribbutedTitle = "LastSynced".localize() + ": \(PasswordStore.shared.lastSyncedTimeString)" refreshControl.attributedTitle = NSAttributedString(string: atribbutedTitle) @@ -154,6 +155,9 @@ class PasswordNavigationViewController: UIViewController { guard let tabBarItem = navigationController?.tabBarItem else { return } + if #available(iOS 15.0, *) { + tabBarItem.scrollEdgeAppearance = tabBarItem.standardAppearance + } let numberOfLocalCommits = PasswordStore.shared.numberOfLocalCommits if numberOfLocalCommits != 0 { @@ -408,6 +412,7 @@ extension PasswordNavigationViewController { func resetViews() { configureTableView(in: parentPasswordEntity) + tableView.layoutIfNeeded() tableView.reloadData() configureNavigationItem() configureTabBarItem()