mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-26 00:48:51 -05:00
show import secret key userID
This commit is contained in:
parent
e6d4b0c70b
commit
2d4b2ae0df
@ -98,8 +98,9 @@ public class ImportKeysAdapter extends ArrayAdapter<ImportKeysListEntry> {
|
|||||||
if (userIdSplit[0] != null && userIdSplit[0].length() > 0) {
|
if (userIdSplit[0] != null && userIdSplit[0].length() > 0) {
|
||||||
// show red user id if it is a secret key
|
// show red user id if it is a secret key
|
||||||
if (entry.secretKey) {
|
if (entry.secretKey) {
|
||||||
userId = mActivity.getString(R.string.secret_key) + " " + userId;
|
userId = mActivity.getString(R.string.secret_key) + " " + userIdSplit[0];
|
||||||
mainUserId.setTextColor(Color.RED);
|
mainUserId.setTextColor(Color.RED);
|
||||||
|
mainUserId.setText(userId);
|
||||||
} else {
|
} else {
|
||||||
mainUserId.setText(userIdSplit[0]);
|
mainUserId.setText(userIdSplit[0]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user