Skip to content
/ Asspp Public

Commit 251f027

Browse files
committed
Swift Format
1 parent e04b7fa commit 251f027

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Asspp/Backend/Downloader/Downloads+UI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// Created by 秋星桥 on 2024/7/13.
66
//
77

8+
import ApplePackage
89
import Foundation
910
import SwiftUI
10-
import ApplePackage
1111

1212
enum DownloadAction: Hashable {
1313
case suspend

Asspp/Interface/Search/SearchView.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)