mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-02-23 23:12:06 -05:00
show linked ids card only if unfiltered ids are available
This commit is contained in:
parent
68b3c22f7b
commit
18a88d35be
@ -423,8 +423,8 @@ public class ViewKeyFragment extends LoaderFragment implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
case LOADER_ID_LINKED_IDS: {
|
case LOADER_ID_LINKED_IDS: {
|
||||||
mLinkedIdsCard.setVisibility(data.getCount() > 0 ? View.VISIBLE : View.GONE);
|
|
||||||
mLinkedIdsAdapter.swapCursor(data);
|
mLinkedIdsAdapter.swapCursor(data);
|
||||||
|
mLinkedIdsCard.setVisibility(mLinkedIdsAdapter.getCount() > 0 ? View.VISIBLE : View.GONE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user