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>
This commit is contained in:
Copilot 2025-10-14 12:14:33 -04:00 committed by GitHub
parent 3cfe97059d
commit 0b40b1c7ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -92,8 +92,7 @@ class CourseInfoChipsState extends State<CourseInfoChips>
children: [
CourseInfoChip(
icon: Icons.language,
text:
"${course!.baseLanguageDisplay}${course!.targetLanguageDisplay}",
text: course!.targetLanguageDisplay,
fontSize: widget.fontSize,
iconSize: widget.iconSize,
padding: widget.padding,

View file

@ -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<String, dynamic> json) {
return CoursePlanModel(