Skip to content

Commit

Permalink
feat: MyProfile - ApplicationStatus Btn
Browse files Browse the repository at this point in the history
  • Loading branch information
doch2 committed Dec 18, 2022
1 parent 2d9248c commit 091843f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/screens/profile/my_profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ class MyProfile extends GetWidget<UserController> {
}

List<Widget> getStudentMenu() {
if (controller.user?.userType! == DimigoinUserType.student) {
return [
SimpleListButton(title: "간편식, 선후밥 신청 현황", iconName: "signDocu", clickAction: () => Get.to(ApplicationStatus())),
];
} else {
return [];
}
}

void _launchURL(String _url) async =>
await canLaunch(_url) ? await launch(_url) : throw 'Could not launch $_url';
}

0 comments on commit 091843f

Please sign in to comment.