mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-26 00:48:51 -05:00
remove redundant check from EncryptFileActivity
This commit is contained in:
parent
2ead78a1e5
commit
b3d3026de7
@ -395,11 +395,6 @@ public class EncryptFileActivity extends DrawerActivity implements EncryptActivi
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gotEncryptionKeys && mSigningKeyId == 0) {
|
|
||||||
Notify.showNotify(this, R.string.select_encryption_or_signature_key, Notify.Style.ERROR);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (mSigningKeyId != 0 && PassphraseCacheService.getCachedPassphrase(this, mSigningKeyId) == null) {
|
if (mSigningKeyId != 0 && PassphraseCacheService.getCachedPassphrase(this, mSigningKeyId) == null) {
|
||||||
PassphraseDialogFragment.show(this, mSigningKeyId,
|
PassphraseDialogFragment.show(this, mSigningKeyId,
|
||||||
|
Loading…
Reference in New Issue
Block a user