mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
hidde "chats in common" header when no chats in common
This commit is contained in:
parent
4663299951
commit
f9885fbcad
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ public class ProfileAdapter extends RecyclerView.Adapter
|
|||
}
|
||||
}
|
||||
|
||||
if (sharedChats != null && !isDeviceTalk) {
|
||||
if (!isDeviceTalk && sharedChats != null && sharedChats.getCnt() > 0) {
|
||||
itemData.add(new ItemData(ITEM_HEADER, context.getString(R.string.profile_shared_chats), 0));
|
||||
for (int i = 0; i < sharedChats.getCnt(); i++) {
|
||||
itemData.add(new ItemData(ITEM_SHARED_CHATS, 0, i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue