Skip to content

Commit

Permalink
Fixed method names.| #372
Browse files Browse the repository at this point in the history
  • Loading branch information
DenBond7 committed May 27, 2021
1 parent 0a31363 commit cd9b39b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class PgpKeyDetailsViewModel(val fingerprint: String?, application: Application)
return fingerprint?.let { keysStorage.getPassphraseTypeByFingerprint(it) }
}

fun forgotPassphrase() {
fun forgetPassphrase() {
fingerprint?.let {
keysStorage.putPassPhraseToCache(
fingerprint = it,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class PrivateKeyDetailsFragment : BaseFragment(), ProgressBehaviour {
private fun initButtons(view: View) {
btnForgetPassphrase = view.findViewById(R.id.btnForgetPassphrase)
btnForgetPassphrase?.setOnClickListener {
pgpKeyDetailsViewModel.forgotPassphrase()
pgpKeyDetailsViewModel.forgetPassphrase()
toast(getString(R.string.passphrase_purged_from_memory))
eTKeyPassword?.text = null
}
Expand Down

0 comments on commit cd9b39b

Please sign in to comment.