mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
More beautifyKeyIdWithPrefix
This commit is contained in:
parent
2c22a4c2f6
commit
4cfc7feb43
@ -122,8 +122,7 @@ public abstract class DecryptFragment extends Fragment {
|
|||||||
if (userIdSplit[1] != null) {
|
if (userIdSplit[1] != null) {
|
||||||
mUserIdRest.setText(userIdSplit[1]);
|
mUserIdRest.setText(userIdSplit[1]);
|
||||||
} else {
|
} else {
|
||||||
mUserIdRest.setText(getString(R.string.label_key_id) + ": "
|
mUserIdRest.setText(KeyFormattingUtils.beautifyKeyIdWithPrefix(getActivity(), mSignatureKeyId));
|
||||||
+ KeyFormattingUtils.convertKeyIdToHex(mSignatureKeyId));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (signatureResult.getStatus()) {
|
switch (signatureResult.getStatus()) {
|
||||||
|
@ -128,7 +128,7 @@ abstract public class SelectKeyCursorAdapter extends CursorAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
long masterKeyId = cursor.getLong(mIndexMasterKeyId);
|
long masterKeyId = cursor.getLong(mIndexMasterKeyId);
|
||||||
h.keyId.setText(KeyFormattingUtils.convertKeyIdToHex(masterKeyId));
|
h.keyId.setText(KeyFormattingUtils.beautifyKeyIdWithPrefix(mContext, masterKeyId));
|
||||||
|
|
||||||
boolean enabled = true;
|
boolean enabled = true;
|
||||||
if (cursor.getInt(mIndexRevoked) != 0) {
|
if (cursor.getInt(mIndexRevoked) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user