From 0b40b1c7ea0d795fd303760316662b09f4b23837 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Oct 2025 12:14:33 -0400 Subject: [PATCH] Remove L1 (base language) display from course info chips (#4378) * Initial plan * Remove L1 display from courses Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> --- lib/pangea/course_creation/course_info_chip_widget.dart | 3 +-- lib/pangea/course_plans/courses/course_plan_model.dart | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/pangea/course_creation/course_info_chip_widget.dart b/lib/pangea/course_creation/course_info_chip_widget.dart index ddcbed2bc..0f75b75af 100644 --- a/lib/pangea/course_creation/course_info_chip_widget.dart +++ b/lib/pangea/course_creation/course_info_chip_widget.dart @@ -92,8 +92,7 @@ class CourseInfoChipsState extends State children: [ CourseInfoChip( icon: Icons.language, - text: - "${course!.baseLanguageDisplay} → ${course!.targetLanguageDisplay}", + text: course!.targetLanguageDisplay, fontSize: widget.fontSize, iconSize: widget.iconSize, padding: widget.padding, diff --git a/lib/pangea/course_plans/courses/course_plan_model.dart b/lib/pangea/course_plans/courses/course_plan_model.dart index acd6ace79..b88adc625 100644 --- a/lib/pangea/course_plans/courses/course_plan_model.dart +++ b/lib/pangea/course_plans/courses/course_plan_model.dart @@ -52,10 +52,6 @@ class CoursePlanModel { targetLanguageModel?.langCode.toUpperCase() ?? targetLanguage.toUpperCase(); - String get baseLanguageDisplay => - baseLanguageModel?.langCode.toUpperCase() ?? - languageOfInstructions.toUpperCase(); - /// Deserialize from JSON factory CoursePlanModel.fromJson(Map json) { return CoursePlanModel(