Created
June 13, 2021 21:19
-
-
Save mhijack/bc0cedb1aaeca4bf57e2facf39f272ae to your computer and use it in GitHub Desktop.
This file contains hidden or 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
struct ContentView: View { | |
@State var isNightTime = false | |
var body: some View { | |
if isNightTime { | |
Text("Speaker volume is 50") | |
} else { | |
Text("Speaker volume is 100") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment