Fix bug addwaypoint
This commit is contained in:
parent
c52a8ae021
commit
f400e755fd
1 changed files with 3 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue