Check for empty contact group name

This commit is contained in:
M66B 2022-01-20 08:02:30 +01:00
parent 6157d21630
commit e195836f86
1 changed files with 2 additions and 0 deletions

View File

@ -6628,6 +6628,8 @@ public class FragmentCompose extends FragmentBase {
public boolean setViewValue(View view, Cursor cursor, int columnIndex) {
if (view.getId() == R.id.tvGroup) {
String title = cursor.getString(1);
if (TextUtils.isEmpty(title))
title = "-";
int count = cursor.getInt(2);
((TextView) view).setText(context.getString(R.string.title_name_count, title, NF.format(count)));
return true;