From ae244476c9feffe8a3a374cf298c6545aabc99f2 Mon Sep 17 00:00:00 2001 From: Dmitry Donskoy Date: Tue, 11 Sep 2018 14:05:41 +0300 Subject: [PATCH] [android] Fixed review notes --- .../mapswithme/maps/bookmarks/BookmarkCategoriesAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/bookmarks/BookmarkCategoriesAdapter.java b/android/src/com/mapswithme/maps/bookmarks/BookmarkCategoriesAdapter.java index 0c5eab5cf2..5bb7f29c62 100644 --- a/android/src/com/mapswithme/maps/bookmarks/BookmarkCategoriesAdapter.java +++ b/android/src/com/mapswithme/maps/bookmarks/BookmarkCategoriesAdapter.java @@ -188,7 +188,7 @@ public class BookmarkCategoriesAdapter extends BaseBookmarkCategoryAdapter 0 ? count + 1 /* header */ + (mType.getFactory().hasAdapterFooter() ? 1 : 0) /* add category btn */ : 0; + return count > 0 ? count + 1 /* header */ + (mType.getFactory().hasAdapterFooter() ? 1 : 0) : 0; } @NonNull