diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-02-16 11:40:29 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-02-16 11:40:29 +0100 |
commit | 15d25f36583710afaf5770ce48a03ebdad8050b0 (patch) | |
tree | 22e3a6416a1705e1b2393e7b630579e941ed3451 /src/main/java/de/pixart/messenger/ui/adapter | |
parent | fd2bfdb4590bb19087d590721e623943d75ab044 (diff) |
fix user adapter view recycling bug
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/adapter')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/UserAdapter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/UserAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/UserAdapter.java index b23f736e8..1bea93ffa 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/UserAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/UserAdapter.java @@ -112,6 +112,8 @@ public class UserAdapter extends ListAdapter<MucOptions.User, UserAdapter.ViewHo } }); viewHolder.binding.key.setText(OpenPgpUtils.convertKeyIdToHex(user.getPgpKeyId())); + } else { + viewHolder.binding.key.setVisibility(View.GONE); } |