fix AI fragment navigation
@@ -61,19 +61,23 @@ public class MainFragment extends Fragment implements OnItemClickListener<SubCat
case FeatureList.DATA_COLLECTION:
Navigation.findNavController(requireView())
.navigate(R.id.action_mainFragment_to_loggerFragment);
+ break;
case FeatureList.CONTROLLER:
// For a library module, uncomment the following line
// intent = new Intent(this, ControllerActivity.class);
// startActivity(intent);
break;
+
case FeatureList.AI_MODELS:
Navigation.findNavController(requireView())
.navigate(R.id.action_mainFragment_to_AIFragment);
+ break;
case FeatureList.CONTROLLER_MAPPING:
Navigation.findNavController(requireView())
.navigate(R.id.action_mainFragment_to_controllerMappingFragment);
+ break;
}
}
}
