Fix incorrect preference key (#1033)
This too should have been base64 encoded Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
cfb42f02f5
commit
67ee24ef86
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ class PasswordStore : AppCompatActivity(R.layout.activity_pwdstore) {
|
||||||
|
|
||||||
//associate the new category with the last category's timestamp in history
|
//associate the new category with the last category's timestamp in history
|
||||||
val preference = getSharedPreferences("recent_password_history", Context.MODE_PRIVATE)
|
val preference = getSharedPreferences("recent_password_history", Context.MODE_PRIVATE)
|
||||||
val timestamp = preference.getString(oldCategory.file.absolutePath)
|
val timestamp = preference.getString(oldCategory.file.absolutePath.base64())
|
||||||
if (timestamp != null) {
|
if (timestamp != null) {
|
||||||
preference.edit {
|
preference.edit {
|
||||||
remove(oldCategory.file.absolutePath.base64())
|
remove(oldCategory.file.absolutePath.base64())
|
||||||
|
|
Loading…
Reference in a new issue