Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raphasampaio authored Jul 22, 2024
1 parent f0af32f commit edf3f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ using SharedPreferences

key = "JjL9kX9BRNsHa6ykI8s8eV9ZX2Wb1Fsf"

instance = SharedPreferences.Instance(key)
instance = SharedPreferences.InstanceEncrypted(key)
set!(instance, "string", "value")
set!(instance, "integer", 42)
set!(instance, "float", 3.14)
set!(instance, "boolean", true)
set!(instance, "array", [1, 2, 3])

instance = SharedPreferences.Instance(key)
instance = SharedPreferences.InstanceEncrypted(key)
string = get(instance, "string")
integer = get(instance, "integer")
float = get(instance, "float")
Expand Down

0 comments on commit edf3f30

Please sign in to comment.