moved check for group

This commit is contained in:
Chumva 2018-03-06 14:46:40 +02:00
parent cc2941b772
commit d4458fa51e

View file

@ -53,7 +53,7 @@ public class EditFavoriteGroupDialogFragment extends MenuBottomSheetDialogFragme
group = helper.getGroup(groupName); group = helper.getGroup(groupName);
} }
} }
if (group==null){ if (group == null) {
return; return;
} }
items.add(new TitleItem(Algorithms.isEmpty(group.name) ? app.getString(R.string.shared_string_favorites) : group.name)); items.add(new TitleItem(Algorithms.isEmpty(group.name) ? app.getString(R.string.shared_string_favorites) : group.name));