swiftui: remove trailing whitespace
This commit is contained in:
parent
eb001f2fc7
commit
5cd52ddcd2
2 changed files with 3 additions and 4 deletions
|
@ -103,7 +103,7 @@ struct ContentView: View {
|
|||
ContentView.cleanupModelCaches()
|
||||
llamaState.cacheCleared = true
|
||||
}
|
||||
|
||||
|
||||
LoadCustomButton(llamaState: llamaState)
|
||||
}
|
||||
.padding(.top, 4)
|
||||
|
|
|
@ -4,11 +4,11 @@ import UniformTypeIdentifiers
|
|||
struct LoadCustomButton: View {
|
||||
@ObservedObject private var llamaState: LlamaState
|
||||
@State private var showFileImporter = false
|
||||
|
||||
|
||||
init(llamaState: LlamaState) {
|
||||
self.llamaState = llamaState
|
||||
}
|
||||
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
Button(action: {
|
||||
|
@ -16,7 +16,6 @@ struct LoadCustomButton: View {
|
|||
}) {
|
||||
Text("Load Custom Model")
|
||||
}
|
||||
|
||||
}
|
||||
.fileImporter(
|
||||
isPresented: $showFileImporter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue