Skip to content

Commit 7b84bf9

Browse files
committed
Поправил сборку для релиза
1 parent 83f82e8 commit 7b84bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SwiftUI-WorkoutApp/SwiftUI_WorkoutAppApp.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ private extension SwiftUI_WorkoutAppApp {
105105
return tabBarItemAppearance
106106
}
107107

108-
#if DEBUG
109108
func prepareForUITestIfNeeded() {
109+
#if DEBUG
110110
if ProcessInfo.processInfo.arguments.contains("UITest") {
111111
UserDefaults.standard.removePersistentDomain(forName: Bundle.main.bundleIdentifier!)
112112
UIView.setAnimationsEnabled(false)
113113
}
114+
#endif
114115
}
115-
#endif
116116
}

0 commit comments

Comments
 (0)