Add addNewApplicant to applyForJob() to increase the applicants when an application is done
parent
ca4532a1ee
commit
bb8600d2f9
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue