-
-
Save laevandus/a93b7fe2b22b61b8f0fc528c21b4d2c0 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
let method: BrewMethod = … | |
let hasSelection = … | |
let bannerText = | |
if !hasSelection { | |
"Please select a brewing method" | |
} | |
else if method == .chemex { | |
"Yada yada" | |
} | |
else { | |
"Other yada yada" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment