Check for empty contact group name

pull/194/merge
M66B 3 years ago
parent 6157d21630
commit e195836f86

@ -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;

Loading…
Cancel
Save