chore(preview): add #Preview to RecordSheet + DebugAIRunner
之前 HomeView/MeView/TrendsView/ArchiveListView/RootView/SymptomStartSheet 都有 #Preview,只剩这两个。补完后所有主屏 View 都能在 Xcode Canvas 直接 预览,改 UI 不用 build & run。
This commit is contained in:
@@ -200,4 +200,12 @@ struct DebugAIRunner: View {
|
||||
refreshModelStatus()
|
||||
}
|
||||
}
|
||||
|
||||
#Preview("DebugAIRunner") {
|
||||
ScrollView {
|
||||
DebugAIRunner()
|
||||
.padding(.vertical, 24)
|
||||
}
|
||||
.background(Tj.Palette.sand.ignoresSafeArea())
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user