From 4e12b279e2c7a0ee1f0330a2f0fd42128b846cdf Mon Sep 17 00:00:00 2001 From: sihoo Date: Wed, 5 Aug 2026 14:01:50 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A0=EC=83=9D=EB=8B=98=20=EC=A0=95?= =?UTF-8?q?=EC=83=81=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=8B=9C=20=EB=8C=80?= =?UTF-8?q?=EC=8B=9C=EB=B3=B4=EB=93=9C=20=EC=9D=B4=EB=A6=84=20=ED=91=9C?= =?UTF-8?q?=EC=8B=9C=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95=20+=20?= =?UTF-8?q?=EC=95=B1=20=EB=B2=84=EC=A0=84=201.1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 로그인 성공 후 TeacherDashboard로 이동할 때 실제 이름/학번을 안 넘겨줘서 항상 "간편인증 선생"으로 표시되던 문제 수정 --- lib/screens/login_screen.dart | 5 ++++- pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index e6d35da..db5f43f 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -308,7 +308,10 @@ class _LoginScreenState extends State { if (role == 'teacher') { Navigator.pushReplacement( context, - MaterialPageRoute(builder: (context) => const TeacherDashboard()), + MaterialPageRoute( + builder: (context) => + TeacherDashboard(teacherId: studentId, teacherName: name), + ), ); } else if (role == 'admin') { Navigator.pushReplacement( diff --git a/pubspec.yaml b/pubspec.yaml index 09a8bba..b8f7a6a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.1.3+4 +version: 1.1.4+5 environment: sdk: ^3.12.2