aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4882f59..edf46b1 100644
--- a/README.md
+++ b/README.md
@@ -119,7 +119,7 @@ An example of the adapter builder:
```kotlin
override fun onCreateKPrefs(savedInstanceState: android.os.Bundle?): KPrefAdapterBuilder.() -> Unit = {
- textColor = { KPrefSample.textColor }
+ textColor = { KPrefSample.textColor } // getter function so the new text color will be retrieved for every reload
accentColor = { KPrefSample.accentColor }
header(R.string.header)