Created
June 27, 2023 14:07
-
-
Save tdcolvin/e86cf4ce1d951242b03ee398a0f8ec99 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
fun setPlanetName(name: String) { | |
_uiState.update { it.copy(planetName = name) } | |
} | |
fun setPlanetDistanceLy(distanceLy: Float) { | |
_uiState.update { it.copy(planetDistanceLy = distanceLy) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment