mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-24 01:32:16 -05:00
Don't show full fingerprint in key search results
This commit is contained in:
parent
54b7b0e522
commit
7811970218
@ -149,12 +149,8 @@ public class ImportKeysAdapter extends ArrayAdapter<ImportKeysListEntry> {
|
|||||||
|
|
||||||
holder.keyId.setText(entry.keyIdHex);
|
holder.keyId.setText(entry.keyIdHex);
|
||||||
|
|
||||||
if (entry.fingerprintHex != null) {
|
// don't show full fingerprint on key import
|
||||||
holder.fingerprint.setVisibility(View.VISIBLE);
|
holder.fingerprint.setVisibility(View.GONE);
|
||||||
holder.fingerprint.setText(PgpKeyHelper.colorizeFingerprint(entry.fingerprintHex));
|
|
||||||
} else {
|
|
||||||
holder.fingerprint.setVisibility(View.GONE);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (entry.bitStrength != 0 && entry.algorithm != null) {
|
if (entry.bitStrength != 0 && entry.algorithm != null) {
|
||||||
holder.algorithm.setText("" + entry.bitStrength + "/" + entry.algorithm);
|
holder.algorithm.setText("" + entry.bitStrength + "/" + entry.algorithm);
|
||||||
|
Loading…
Reference in New Issue
Block a user