From db7615d26f4c2382822b5c9b35b3476745e2b37e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 30 Nov 2022 16:53:11 -0500 Subject: [PATCH] Fix Edit List Accounts search field being jammed in the corner on iPad --- Tusker/Screens/Lists/EditListAccountsViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tusker/Screens/Lists/EditListAccountsViewController.swift b/Tusker/Screens/Lists/EditListAccountsViewController.swift index dd6aa7bb..7a2d8ba5 100644 --- a/Tusker/Screens/Lists/EditListAccountsViewController.swift +++ b/Tusker/Screens/Lists/EditListAccountsViewController.swift @@ -77,6 +77,9 @@ class EditListAccountsViewController: EnhancedTableViewController { navigationItem.searchController = searchController navigationItem.hidesSearchBarWhenScrolling = false + if #available(iOS 16.0, *) { + navigationItem.preferredSearchBarPlacement = .stacked + } navigationItem.rightBarButtonItem = UIBarButtonItem(title: NSLocalizedString("Rename", comment: "rename list button title"), style: .plain, target: self, action: #selector(renameButtonPressed))