Created
April 9, 2020 00:58
-
-
Save nongdenchet/35fd29db48dc56753d3e86f03961e5b9 to your computer and use it in GitHub Desktop.
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
if (featureManager.isNewInvoiceEnabled) { | |
// ... | |
if (featureManager.isStripeEnbled) { | |
// Show stripe with new design | |
} else { | |
// Show old payment with new design | |
} | |
// ... | |
} else { | |
// ... | |
if (featureManager.isStripeEnbled) { | |
// Show stripe with old design | |
} else { | |
// Show old payment with old design | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment