Fix bug addwaypoint
This commit is contained in:
parent
c52a8ae021
commit
f400e755fd
1 changed files with 3 additions and 4 deletions
|
@ -160,12 +160,11 @@ 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()
|
items.add(new BaseBottomSheetItem.Builder()
|
||||||
.setCustomView(favoriteCategoryList)
|
.setCustomView(favoriteCategoryList)
|
||||||
.create());
|
.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) {
|
||||||
View itemView = UiUtilities.getInflater(activity, nightMode).inflate(R.layout.bottom_sheet_item_with_descr_and_radio_btn, null);
|
View itemView = UiUtilities.getInflater(activity, nightMode).inflate(R.layout.bottom_sheet_item_with_descr_and_radio_btn, null);
|
||||||
|
|
Loading…
Reference in a new issue