diff --git a/docs/index.md b/docs/index.md index 48f8a39..6f3bb1e 100755 --- a/docs/index.md +++ b/docs/index.md @@ -9,7 +9,8 @@ It offers a consistent syntax for reading and writing values, whilst parameteriz ## Design The library is built with different stages in mind, each taking input from the previous one: -1. The KsPrefs API allows developers to interface with the SharedPreferences APIs primitives: `getString`, `setInt` +1. The KsPrefs API allows developers to interface with the main primitives: `pull` and `push`, to read and write values to the storage, respectively; +2. ``` mermaid graph LR diff --git a/library/src/main/kotlin/com/cioccarellia/ksprefs/config/KspConfig.kt b/library/src/main/kotlin/com/cioccarellia/ksprefs/config/KspConfig.kt index e1f3b87..b795638 100755 --- a/library/src/main/kotlin/com/cioccarellia/ksprefs/config/KspConfig.kt +++ b/library/src/main/kotlin/com/cioccarellia/ksprefs/config/KspConfig.kt @@ -26,7 +26,7 @@ import java.nio.charset.Charset /** * Global KsPrefs config object * */ -data class KspConfig @RestrictTo(RestrictTo.Scope.LIBRARY) constructor( +data class KspConfig( @IntRange(from = 0x0000, to = 0x0010) var mode: Int = Defaults.MODE, var charset: Charset = Defaults.CHARSET,