mirror of https://github.com/readrops/Readrops.git
Fix wrong password key in Migrations
This commit is contained in:
parent
e0fcf265f5
commit
be865aa7f9
|
@ -33,7 +33,7 @@ object Migrations {
|
||||||
|
|
||||||
oldPreferences.getString(account.passwordKey, null)?.run {
|
oldPreferences.getString(account.passwordKey, null)?.run {
|
||||||
encryptedPreferences.edit()
|
encryptedPreferences.edit()
|
||||||
.putString(account.password, this)
|
.putString(account.passwordKey, this)
|
||||||
.apply()
|
.apply()
|
||||||
|
|
||||||
oldPreferences.edit()
|
oldPreferences.edit()
|
||||||
|
|
Loading…
Reference in New Issue