From 945050462fe7cd48258bca3d306d63b0115bd081 Mon Sep 17 00:00:00 2001 From: Mohamad Amin Mohamadi Date: Sat, 3 Jun 2017 02:36:56 +0430 Subject: [PATCH] Fixed a buggy line, thanks to @zobnin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8430b36..028b990 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ override fun onCreate() { Use `SharedPreferences` in your project with only one line: ```kotlin -val intPreference: Int by Preference("IntPreference", -1) +val intPreference: Int by Preference(-1, "IntPreference") ``` it creates a `SharedPreferences` property with `IntPreference` name and `-1` as its default value.