Skip to content

Commit

Permalink
hotfix: preview
Browse files Browse the repository at this point in the history
  • Loading branch information
chaemin2001 committed Feb 21, 2024
1 parent 2d45c88 commit 7e13d7e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions SNUTT-2022/SNUTT/Views/Scenes/ThemeDetailScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,10 @@ struct ThemeDetailScene: View {
}
}

struct ThemeDetailScene_Previews: PreviewProvider {
static var previews: some View {
ThemeDetailScene(viewModel: .init(container: .preview), theme: .init(from: .init(id: UUID().uuidString, theme: 0, name: "새 테마", colors: [ThemeColorDto(bg: STColor.cyan.toHex(), fg: Color.white.toHex())], isDefault: false, isCustom: true)), themeType: .new)
#if DEBUG
struct ThemeDetailScene_Previews: PreviewProvider {
static var previews: some View {
ThemeDetailScene(viewModel: .init(container: .preview), theme: .init(from: .init(id: UUID().uuidString, theme: 0, name: "새 테마", colors: [ThemeColorDto(bg: STColor.cyan.toHex(), fg: Color.white.toHex())], isDefault: false, isCustom: true)), themeType: .new)
}
}
}
#endif

0 comments on commit 7e13d7e

Please sign in to comment.