aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2020-02-16 11:40:29 +0100
committerChristian Schneppe <christian.schneppe@pix-art.de>2020-02-16 11:40:29 +0100
commit15d25f36583710afaf5770ce48a03ebdad8050b0 (patch)
tree22e3a6416a1705e1b2393e7b630579e941ed3451 /src/main/java/de
parentfd2bfdb4590bb19087d590721e623943d75ab044 (diff)
fix user adapter view recycling bug
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/ui/adapter/UserAdapter.java2
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);
}