From d4458fa51eca5bf2a581364a5bd9ad604245353a Mon Sep 17 00:00:00 2001 From: Chumva Date: Tue, 6 Mar 2018 14:46:40 +0200 Subject: [PATCH] moved check for group --- .../osmand/plus/activities/EditFavoriteGroupDialogFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/EditFavoriteGroupDialogFragment.java b/OsmAnd/src/net/osmand/plus/activities/EditFavoriteGroupDialogFragment.java index f1ac330a6a..2b06aa5f1c 100644 --- a/OsmAnd/src/net/osmand/plus/activities/EditFavoriteGroupDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/EditFavoriteGroupDialogFragment.java @@ -53,7 +53,7 @@ public class EditFavoriteGroupDialogFragment extends MenuBottomSheetDialogFragme group = helper.getGroup(groupName); } } - if (group==null){ + if (group == null) { return; } items.add(new TitleItem(Algorithms.isEmpty(group.name) ? app.getString(R.string.shared_string_favorites) : group.name));