File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 55// Created by 秋星桥 on 2024/7/13.
66//
77
8+ import ApplePackage
89import Foundation
910import SwiftUI
10- import ApplePackage
1111
1212enum DownloadAction : Hashable {
1313 case suspend
Original file line number Diff line number Diff line change @@ -212,27 +212,27 @@ extension SearchView {
212212
213213 var titleDisplayMode : NavigationBarItem . TitleDisplayMode {
214214 if #available( iOS 26 . 0 , * ) {
215- return . inline // weird animation when using large title
215+ . inline // weird animation when using large title
216216 } else {
217- return . automatic
217+ . automatic
218218 }
219219 }
220220
221221 var navigationBarVisibility : Visibility {
222222 switch horizontalSizeClass {
223223 case . compact:
224- return . hidden
224+ . hidden
225225 default :
226- return . automatic
226+ . automatic
227227 }
228228 }
229229
230230 var searchablePlacement : SearchFieldPlacement {
231231 switch horizontalSizeClass {
232232 case . compact:
233- return . automatic
233+ . automatic
234234 default :
235- return . toolbar
235+ . toolbar
236236 }
237237 }
238238}
You can’t perform that action at this time.
0 commit comments