-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1712 from p2p-org/feature/pwn-1033
Fix wormhole feature flag doesn't work
- Loading branch information
Showing
3 changed files
with
45 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import SwiftUI | ||
|
||
struct FlagDebugMenuView: View { | ||
var body: some View { | ||
List { | ||
DebugText(title: "ETH Address", value: "\(available(.ethAddressEnabled))") | ||
DebugText(title: "Invest Solend", value: "\(available(.investSolendFeature))") | ||
DebugText(title: "Mocked API Gateway", value: "\(available(.mockedApiGateway))") | ||
DebugText(title: "Mocked TKey Facade", value: "\(available(.mockedTKeyFacade))") | ||
DebugText(title: "Onboarding Username", value: "\(available(.onboardingUsernameEnabled))") | ||
DebugText( | ||
title: "Onboarding Username Button Skip", | ||
value: "\(available(.onboardingUsernameButtonSkipEnabled))" | ||
) | ||
DebugText(title: "PnL", value: "\(available(.pnlEnabled))") | ||
DebugText(title: "Referral Program", value: "\(available(.referralProgramEnabled))") | ||
DebugText(title: "Send Via Link", value: "\(available(.sendViaLinkEnabled))") | ||
DebugText(title: "Simulated Social Error", value: "\(available(.simulatedSocialError))") | ||
DebugText(title: "Solana ETH Address", value: "\(available(.solanaEthAddressEnabled))") | ||
DebugText(title: "Solana Negative Status", value: "\(available(.solanaNegativeStatus))") | ||
DebugText(title: "Solend Disable Placeholder", value: "\(available(.solendDisablePlaceholder))") | ||
DebugText(title: "Swap Transaction Simulation", value: "\(available(.swapTransactionSimulationEnabled))") | ||
DebugText(title: "Sell Scenario", value: "\(available(.sellScenarioEnabled))") | ||
} | ||
.navigationTitle("Flags") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters