Add addNewApplicant to applyForJob() to increase the applicants when an application is done

main
David 2023-06-21 14:37:21 +02:00
parent ca4532a1ee
commit bb8600d2f9
1 changed files with 7 additions and 8 deletions

View File

@ -103,14 +103,13 @@ class _JobDetailsScreenState extends State<JobDetailsScreen> {
applyForJob() {
final Uri params = Uri(
scheme: "mailto",
path: emailCompany,
query:
"subject=Hey from JobFinder",
);
final url = params.toString();
launchUrlString(url);
scheme: "mailto",
path: emailCompany,
query: "subject=Hey from JobFinder",
);
final url = params.toString();
launchUrlString(url);
addNewApplicants();
}
void addNewApplicants() async {