fix user adapter view recycling bug

This commit is contained in:
Daniel Gultsch 2020-02-14 12:04:11 +01:00
parent 62021aae59
commit c34d40ebff
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ public class UserAdapter extends ListAdapter<MucOptions.User, UserAdapter.ViewHo
} }
}); });
viewHolder.binding.key.setText(OpenPgpUtils.convertKeyIdToHex(user.getPgpKeyId())); viewHolder.binding.key.setText(OpenPgpUtils.convertKeyIdToHex(user.getPgpKeyId()));
} else {
viewHolder.binding.key.setVisibility(View.GONE);
} }