Created
June 13, 2021 21:23
-
-
Save mhijack/f1b13a33a51bd31284e5f1e1b75f85f8 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
struct ContentView: View { | |
@State var isReduceLoudnessOn = false | |
var body: some View { | |
MarshallSpeaker(maximumVolume: isReduceLoudnessOn ? 70 : 100) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment