mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
Use remembered credential even if it is empty (#880)
* Use remembered credential even if it is empty Should fix #875. * .isNull() --> == null * Update relnotes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reword relnotes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * 2019 it is Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Remember passphrase option did not work with keys that had empty passphrases and were generated before 2019
|
||||
|
||||
### Added
|
||||
|
||||
- Add GNU IceCatMobile to the list of supported browsers for Autofill
|
||||
|
@@ -67,7 +67,7 @@ private class GitOperationCredentialFinder(val callingActivity: Activity, val co
|
||||
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
||||
if (isRetry)
|
||||
gitOperationPrefs.edit { remove(credentialPref) }
|
||||
if (storedCredential.isNullOrEmpty()) {
|
||||
if (storedCredential == null) {
|
||||
val layoutInflater = LayoutInflater.from(callingActivity)
|
||||
|
||||
@SuppressLint("InflateParams")
|
||||
|
Reference in New Issue
Block a user