Skip to content

Commit 5259d89

Browse files
authored
Wrap debug-only property with DEBUG flag (#204)
wrap DIContainer.preview with DEBUG flag
1 parent 0d1cff0 commit 5259d89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SNUTT-2022/SNUTT/Views/Scenes/ResetPasswordScene.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,12 @@ extension ResetPasswordScene {
140140
}
141141
}
142142

143+
#if DEBUG
143144
struct FindPasswordView_Previews: PreviewProvider {
144145
static var previews: some View {
145146
NavigationView {
146147
ResetPasswordScene(viewModel: .init(container: .preview), showResetPasswordScene: .constant(true))
147148
}
148149
}
149150
}
151+
#endif

0 commit comments

Comments
 (0)