show import secret key userID

This commit is contained in:
Ashley Hughes 2014-01-28 23:55:27 +00:00
parent e6d4b0c70b
commit 2d4b2ae0df

View File

@ -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]);
} }