Skip to content

Commit

Permalink
Fixed a buggy line, thanks to @zobnin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamad Amin Mohamadi committed Jun 2, 2017
1 parent c8fc795 commit 9450504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9450504

Please sign in to comment.