From 5473703f181dfd3203b23e9b18db96f1c3471d5f Mon Sep 17 00:00:00 2001 From: Ashley Hughes Date: Fri, 20 Sep 2013 13:23:06 +0100 Subject: [PATCH] set mainUserIdRest visible after GONE in previous key --- .../sufficientlysecure/keychain/ui/widget/KeyListAdapter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/widget/KeyListAdapter.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/widget/KeyListAdapter.java index 989036a7f..780520cb1 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/widget/KeyListAdapter.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/ui/widget/KeyListAdapter.java @@ -92,6 +92,8 @@ public class KeyListAdapter extends CursorTreeAdapter { if (mainUserIdRest.getText().length() == 0) { mainUserIdRest.setVisibility(View.GONE); + } else { + mainUserIdRest.setVisibility(View.VISIBLE); } }