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()
|
ContentView.cleanupModelCaches()
|
||||||
llamaState.cacheCleared = true
|
llamaState.cacheCleared = true
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadCustomButton(llamaState: llamaState)
|
LoadCustomButton(llamaState: llamaState)
|
||||||
}
|
}
|
||||||
.padding(.top, 4)
|
.padding(.top, 4)
|
||||||
|
|
|
@ -4,11 +4,11 @@ import UniformTypeIdentifiers
|
||||||
struct LoadCustomButton: View {
|
struct LoadCustomButton: View {
|
||||||
@ObservedObject private var llamaState: LlamaState
|
@ObservedObject private var llamaState: LlamaState
|
||||||
@State private var showFileImporter = false
|
@State private var showFileImporter = false
|
||||||
|
|
||||||
init(llamaState: LlamaState) {
|
init(llamaState: LlamaState) {
|
||||||
self.llamaState = llamaState
|
self.llamaState = llamaState
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack {
|
VStack {
|
||||||
Button(action: {
|
Button(action: {
|
||||||
|
@ -16,7 +16,6 @@ struct LoadCustomButton: View {
|
||||||
}) {
|
}) {
|
||||||
Text("Load Custom Model")
|
Text("Load Custom Model")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.fileImporter(
|
.fileImporter(
|
||||||
isPresented: $showFileImporter,
|
isPresented: $showFileImporter,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue