Fix bug addwaypoint

This commit is contained in:
androiddevkotlin 2021-03-02 12:33:53 +02:00
parent c52a8ae021
commit f400e755fd

View file

@ -160,11 +160,10 @@ public class SelectFavoriteCategoryBottomSheet extends MenuBottomSheetDialogFrag
favoriteCategoryContainer.addView(createCategoryItem(activity, nightMode, category.getDisplayName(getContext()), favoriteCategoryContainer.addView(createCategoryItem(activity, nightMode, category.getDisplayName(getContext()),
category.getColor(), favoriteCategoryCount, !category.isVisible())); category.getColor(), favoriteCategoryCount, !category.isVisible()));
} }
items.add(new BaseBottomSheetItem.Builder()
.setCustomView(favoriteCategoryList)
.create());
} }
items.add(new BaseBottomSheetItem.Builder()
.setCustomView(favoriteCategoryList)
.create());
} }
private View createCategoryItem(@NonNull final Activity activity, boolean nightMode, final String categoryName, final int categoryColor, String categoryPointCount, boolean isHidden) { private View createCategoryItem(@NonNull final Activity activity, boolean nightMode, final String categoryName, final int categoryColor, String categoryPointCount, boolean isHidden) {