Skip to content

Commit

Permalink
Fixed typo in preferences documentation. #255
Browse files Browse the repository at this point in the history
  • Loading branch information
czyzby committed Mar 25, 2020
1 parent a33a8cd commit 4018db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preferences/src/main/kotlin/ktx/preferences/preferences.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private fun Double.asFloat(): Float {
}

/**
* Serializes any [value] as a JSON string amd stores it under the given [key] in the [Preferences].
* Serializes any [value] as a JSON string and stores it under the given [key] in the [Preferences].
* Note that [value] must be JSON-serializable - see the [Json] module for details.
*
* A new [Json] instance is created for each serialized value. If the preference is saved frequently
Expand Down

0 comments on commit 4018db1

Please sign in to comment.