Fix a typo in getting an object type

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-01-27 23:46:05 +01:00
parent f612476f62
commit 013e60af1b

View File

@ -213,7 +213,7 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
boolean shouldLoadAvatar = true; boolean shouldLoadAvatar = true;
String objectType; String objectType;
if (TextUtils.isEmpty(objectType = conversation.getObjectType())) { if (!TextUtils.isEmpty(objectType = conversation.getObjectType())) {
switch (objectType) { switch (objectType) {
case "share:password": case "share:password":
shouldLoadAvatar = false; shouldLoadAvatar = false;