Closed seife closed 1 year ago
Basically what happened to me:
prefs.putString("foo", "bar");
works fine. But clearing it later with
prefs.putString("foo", "");
does not work, it still returns "bar".
I think it is necessary for the Preferences::putBytes function to also check for _fs_get_size() != len in addition to the _fs_verify() check.
Preferences::putBytes
_fs_get_size() != len
_fs_verify()
I'll try to cook up a patch for that.
Basically what happened to me:
works fine. But clearing it later with
does not work, it still returns "bar".
I think it is necessary for the
Preferences::putBytes
function to also check for_fs_get_size() != len
in addition to the_fs_verify()
check.I'll try to cook up a patch for that.