From bb8600d2f9bbeeaeb77b55a7d04ffbef0da0f431 Mon Sep 17 00:00:00 2001 From: David <1920881@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:37:21 +0200 Subject: [PATCH] Add addNewApplicant to applyForJob() to increase the applicants when an application is done --- lib/jobs/job_details.dart | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/jobs/job_details.dart b/lib/jobs/job_details.dart index 1ee1529..f75c540 100644 --- a/lib/jobs/job_details.dart +++ b/lib/jobs/job_details.dart @@ -103,14 +103,13 @@ class _JobDetailsScreenState extends State { 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 {