Skip to content

Commit 1fe23a9

Browse files
committed
Implemented Displaying Mode selection only available in debug mode
1 parent 19055b2 commit 1fe23a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

GoInfoGame/GoInfoGame/Login/View/PosmLogin.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct PosmLoginView: View {
4141
.background(Color(.systemGray6))
4242
.cornerRadius(10)
4343
.padding(.horizontal, 40)
44-
44+
#if DEBUG
4545
Menu {
4646
ForEach(APIEnvironment.allCases, id: \.self) { environment in
4747
Button(action: {
@@ -62,7 +62,8 @@ struct PosmLoginView: View {
6262
.cornerRadius(10)
6363
}
6464
.padding(.horizontal, 40)
65-
65+
66+
#endif
6667
Button(action: {
6768
APIConfiguration.shared.environment = selectedEnvironment
6869
viewModel.performLogin(for: selectedEnvironment)

0 commit comments

Comments
 (0)