diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt index 0ed1a66a..fb27ba6a 100644 --- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt +++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt @@ -655,6 +655,7 @@ class UserPreference : AppCompatActivity() { val prefs = PreferenceManager.getDefaultSharedPreferences(applicationContext) prefs.edit { putBoolean("use_generated_key", false) } + getEncryptedPrefs("git_operation").edit { remove("ssh_key_local_passphrase") } // Delete the public key from generation File("""$filesDir/.ssh_key.pub""").delete()