Make the user's own identities visually distinct

Closes #593
This commit is contained in:
Torsten Grote
2016-08-23 12:20:32 -03:00
committed by akwizgran
parent 9664aea520
commit da08072409
3 changed files with 22 additions and 10 deletions

View File

@@ -26,11 +26,6 @@ public class TrustIndicatorView extends ImageView {
}
public void setTrustLevel(Status status) {
if (status == OURSELVES) {
setVisibility(GONE);
return;
}
int res;
switch (status) {
case ANONYMOUS:
@@ -42,6 +37,9 @@ public class TrustIndicatorView extends ImageView {
case VERIFIED:
res = R.drawable.trust_indicator_verified;
break;
case OURSELVES:
res = R.drawable.ic_our_identity_black;
break;
default:
res = R.drawable.trust_indicator_unknown;
}