Skip to content

Commit

Permalink
Merge pull request #457 from DanXi-Dev/fix-454
Browse files Browse the repository at this point in the history
fix: #454
  • Loading branch information
w568w authored Nov 29, 2024
2 parents 144fd82 + fd998e9 commit 9229601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/page/danke/course_review_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import 'dart:async';

import 'package:auto_size_text/auto_size_text.dart';
import 'package:dan_xi/common/constant.dart';
import 'package:dan_xi/common/icon_fonts.dart';
import 'package:dan_xi/generated/l10n.dart';
Expand Down Expand Up @@ -373,7 +374,7 @@ class CourseReviewEditorWidgetState extends State<CourseReviewEditorWidget> {
teacherFilterNotifier.value = e!;
},
itemBuilder: (e) => DropdownMenuItem(
value: e, child: Flexible(child: Text(e, style: listItemStyle,))),
value: e, child: AutoSizeText(e, style: listItemStyle,)),
)),
Expanded(
flex: 1,
Expand All @@ -393,8 +394,7 @@ class CourseReviewEditorWidgetState extends State<CourseReviewEditorWidget> {
},
itemBuilder: (e) => DropdownMenuItem(
value: e,
child: Flexible(
child: Text(e.formatTime(), style: listItemStyle,)))),
child: AutoSizeText(e.formatTime(), style: listItemStyle,))),
valueListenable: teacherFilterNotifier,
)),
]),
Expand Down

0 comments on commit 9229601

Please sign in to comment.