Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent fe189fcfed
commit 23062901c0
343 changed files with 1502 additions and 1048 deletions
+3 -2
View File
@@ -53,7 +53,6 @@ private struct SearchControllerModifier: ViewModifier {
/// is `false`, checking if this value is `false` is pretty much meaningless.
@State private var isSearching = false
@ViewBuilder
func body(content: Content) -> some View {
let text: Text? = if let placeholder {
Text(placeholder)
@@ -191,7 +190,9 @@ private struct SearchController: UIViewControllerRepresentable {
}
@available(*, unavailable)
required init?(coder: NSCoder) { fatalError() }
required init?(coder: NSCoder) {
fatalError()
}
override func willMove(toParent parent: UIViewController?) {
parent?.navigationItem.searchController = searchController