Skip to content

Commit 0d672db

Browse files
committed
Update
1 parent 46dce42 commit 0d672db

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Copilot for Xcode/DebugView.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ final class DebugSettings: ObservableObject {
66
@AppStorage(\.disableLazyVStack)
77
var disableLazyVStack: Bool
88
@AppStorage(\.preCacheOnFileOpen)
9-
var runNodeWithInteractiveLoggedInShell: Bool
9+
var preCacheOnFileOpen: Bool
1010
@AppStorage(\.useCustomScrollViewWorkaround) var useCustomScrollViewWorkaround
1111
init() {}
1212
}
@@ -20,17 +20,16 @@ struct DebugSettingsView: View {
2020
Toggle(isOn: $settings.disableLazyVStack) {
2121
Text("Disable LazyVStack")
2222
}
23-
.toggleStyle(.switch)
2423
Toggle(isOn: $settings.preCacheOnFileOpen) {
2524
Text("Cache editor information on file open")
2625
}
27-
.toggleStyle(.switch)
2826
Toggle(isOn: $settings.useCustomScrollViewWorkaround) {
2927
Text("Use custom scroll view workaround for smooth scrolling")
3028
}
31-
.toggleStyle(.switch)
3229
}
33-
}.buttonStyle(.copilot)
30+
}
31+
.toggleStyle(.switch)
32+
.buttonStyle(.copilot)
3433
}
3534
}
3635

0 commit comments

Comments
 (0)