mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-21 00:08:39 +00:00
refactor(macos): dedupe UI, pairing, and runtime helpers
This commit is contained in:
14
apps/macos/Sources/OpenClaw/SettingsSidebarScroll.swift
Normal file
14
apps/macos/Sources/OpenClaw/SettingsSidebarScroll.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
import SwiftUI
|
||||
|
||||
struct SettingsSidebarScroll<Content: View>: View {
|
||||
@ViewBuilder var content: Content
|
||||
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
self.content
|
||||
.padding(.vertical, 10)
|
||||
.padding(.horizontal, 10)
|
||||
}
|
||||
.settingsSidebarCardLayout()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user