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