Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 8f7d305

Browse files
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> (cherry picked from commit b60c5fb) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
1 parent b5cff71 commit 8f7d305

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Fixed
8+
9+
- Remember passphrase option did not work with keys that had empty passphrases and were generated before 2019
10+
711
### Added
812

913
- Add GNU IceCatMobile to the list of supported browsers for Autofill

app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private class GitOperationCredentialFinder(val callingActivity: Activity, val co
6767
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
6868
if (isRetry)
6969
gitOperationPrefs.edit { remove(credentialPref) }
70-
if (storedCredential.isNullOrEmpty()) {
70+
if (storedCredential == null) {
7171
val layoutInflater = LayoutInflater.from(callingActivity)
7272

7373
@SuppressLint("InflateParams")

0 commit comments

Comments
 (0)