moved check for group

This commit is contained in:
Chumva 2018-03-06 14:46:20 +02:00
parent 292639b9f8
commit cc2941b772

View file

@ -52,9 +52,9 @@ public class EditFavoriteGroupDialogFragment extends MenuBottomSheetDialogFragme
if (groupName != null) { if (groupName != null) {
group = helper.getGroup(groupName); group = helper.getGroup(groupName);
} }
if (group==null){ }
return; if (group==null){
} 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));