Created
May 28, 2020 10:42
-
-
Save juliuscanute/757408f834d6e520320f17a3268bf35f to your computer and use it in GitHub Desktop.
Configuration Repository
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
/*..*/ | |
fun saveConfig(key: String, value: Int) { | |
val userKey = getUserKey(key) | |
store[userKey] = StoreValue.IntValue(value = value) | |
settings.putInt(userKey, value) | |
} | |
/*..*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment