aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-10 17:08:49 -0700
committerGitHub <noreply@github.com>2017-06-10 17:08:49 -0700
commit4c81c599b0c1c8893af25dd8cd51b6428389e910 (patch)
treeafadf4e1a9638eae1ad63848a1cdf9943c04207b /README.md
parent656d94f91a095be78028af7b8f14947e84287d37 (diff)
downloadkau-4c81c599b0c1c8893af25dd8cd51b6428389e910.tar.gz
kau-4c81c599b0c1c8893af25dd8cd51b6428389e910.tar.bz2
kau-4c81c599b0c1c8893af25dd8cd51b6428389e910.zip
Create README.md
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 c808884..9430a21 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ class MyPrefs {
KPrefs greatly simplifies it by using Kotlin's object pattern and delegates to achieve the following:
```Kotlin
-object KPrefSample : KPref() {
+object MyPrefs : KPref() {
var textColor: Int by kpref("TEXT_COLOR", Color.WHITE)
var bgColor: Int by kpref("BG_COLOR", Color.BLACK)
var isFirstLaunch: Boolean by kpref("IS_FIRST_LAUNCH", true)