We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19055b2 commit 1fe23a9Copy full SHA for 1fe23a9
GoInfoGame/GoInfoGame/Login/View/PosmLogin.swift
@@ -41,7 +41,7 @@ struct PosmLoginView: View {
41
.background(Color(.systemGray6))
42
.cornerRadius(10)
43
.padding(.horizontal, 40)
44
-
+ #if DEBUG
45
Menu {
46
ForEach(APIEnvironment.allCases, id: \.self) { environment in
47
Button(action: {
@@ -62,7 +62,8 @@ struct PosmLoginView: View {
62
63
}
64
65
+
66
+ #endif
67
68
APIConfiguration.shared.environment = selectedEnvironment
69
viewModel.performLogin(for: selectedEnvironment)
0 commit comments