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() { applyForJob() {
final Uri params = Uri( final Uri params = Uri(
scheme: "mailto", scheme: "mailto",
path: emailCompany, path: emailCompany,
query: query: "subject=Hey from JobFinder",
"subject=Hey from JobFinder", );
); final url = params.toString();
final url = params.toString(); launchUrlString(url);
launchUrlString(url); addNewApplicants();
} }
void addNewApplicants() async { void addNewApplicants() async {