moved check for group
This commit is contained in:
parent
292639b9f8
commit
cc2941b772
1 changed files with 3 additions and 3 deletions
|
@ -52,10 +52,10 @@ public class EditFavoriteGroupDialogFragment extends MenuBottomSheetDialogFragme
|
||||||
if (groupName != null) {
|
if (groupName != null) {
|
||||||
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));
|
||||||
|
|
||||||
BaseBottomSheetItem byTypeItem = new SimpleBottomSheetItem.Builder()
|
BaseBottomSheetItem byTypeItem = new SimpleBottomSheetItem.Builder()
|
||||||
|
|
Loading…
Reference in a new issue