Commit 90d773da by Kunj Gupta

UOFLMA-121 - Fixed: In Services & Reservation>>Bigelow Hall Reservation>>Showing extra labels.

parent c07813b3
......@@ -45,7 +45,7 @@ public class Util {
private static TextView getLabelView(Context context, CatalogueVariable catalogueVariable, LinearLayout.LayoutParams childLabelViewLayoutParams) {
ViewType viewType = catalogueVariable.getType();
if (catalogueVariable.getQuestionText() != null && viewType != ViewType.MACRO /*&& viewType != ViewType.CONTAINER_START*/
if (catalogueVariable.getQuestionText() != null && viewType != ViewType.MACRO && viewType != ViewType.CONTAINER_START
&& viewType != ViewType.CONTAINER_END && viewType != ViewType.CONTAINER_SPLIT
&& viewType != ViewType.LABEL && viewType != CHECK_BOX && viewType != BREAK) {
/*For MACRO, CONTAINER_START, CONTAINER_END and CONTAINER_SPLIT, there is no need to render any view*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment