chore(macos): make debug settings scrollable
parent
f97415755b
commit
4d2f4f1be3
|
|
@ -14,6 +14,7 @@ struct DebugSettings: View {
|
||||||
@State private var sessionStoreSaveError: String?
|
@State private var sessionStoreSaveError: String?
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
ScrollView(.vertical) {
|
||||||
VStack(alignment: .leading, spacing: 10) {
|
VStack(alignment: .leading, spacing: 10) {
|
||||||
LabeledContent("PID") { Text("\(ProcessInfo.processInfo.processIdentifier)") }
|
LabeledContent("PID") { Text("\(ProcessInfo.processInfo.processIdentifier)") }
|
||||||
LabeledContent("Log file") {
|
LabeledContent("Log file") {
|
||||||
|
|
@ -134,10 +135,12 @@ struct DebugSettings: View {
|
||||||
Button("Restart relay") { self.restartRelay() }
|
Button("Restart relay") { self.restartRelay() }
|
||||||
}
|
}
|
||||||
.buttonStyle(.bordered)
|
.buttonStyle(.bordered)
|
||||||
Spacer()
|
Spacer(minLength: 8)
|
||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
.padding(.horizontal, 12)
|
.padding(.horizontal, 12)
|
||||||
|
.padding(.vertical, 8)
|
||||||
|
}
|
||||||
.task {
|
.task {
|
||||||
await self.reloadModels()
|
await self.reloadModels()
|
||||||
self.loadSessionStorePath()
|
self.loadSessionStorePath()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue