set alpha correctly

This commit is contained in:
Christian Schneppe 2016-12-18 23:10:01 +01:00
parent a8c8eafbc6
commit 3091c352d8

View file

@ -223,7 +223,6 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
final FingerprintStatus status = message.getConversation()
.getAccount().getAxolotlService().getFingerprintTrust(
message.getFingerprint());
if (status != null && status.isVerified()) {
verified = true;
}
@ -233,6 +232,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
} else {
viewHolder.indicator.setImageResource(R.drawable.ic_lock_blue_18dp);
}
viewHolder.indicator.setAlpha(0.7f);
viewHolder.indicator.setVisibility(View.VISIBLE);
}