more fixes
This commit is contained in:
@@ -181,7 +181,7 @@ class _CreateBusinessDetailState extends State<BusinessDetail> {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 16, top: 4),
|
||||
padding: const EdgeInsets.only(left: 16, top: 8),
|
||||
child: _GetListingsTitle(business)),
|
||||
if (business.listings != null)
|
||||
_JobList(business: business)
|
||||
@@ -340,6 +340,7 @@ class _JobListItem extends StatelessWidget {
|
||||
subtitle: Text(
|
||||
jobListing.description,
|
||||
style: const TextStyle(overflow: TextOverflow.ellipsis),
|
||||
maxLines: 2,
|
||||
),
|
||||
trailing: _getEditIcon(context, fromBusiness, jobListing),
|
||||
onTap: () {
|
||||
|
||||
@@ -32,7 +32,7 @@ class _CreateEditJobListingState extends State<CreateEditJobListing> {
|
||||
id: null,
|
||||
businessId: null,
|
||||
name: 'Job Listing',
|
||||
description: 'Add details about the business below.',
|
||||
description: 'Add details about the job below.',
|
||||
type: null,
|
||||
wage: null,
|
||||
link: null,
|
||||
|
||||
@@ -32,6 +32,7 @@ class _CreateBusinessDetailState extends State<JobListingDetail> {
|
||||
);
|
||||
}
|
||||
|
||||
/// body of the JobListingDetail
|
||||
Widget _detailBody(JobListing listing) {
|
||||
return ListView(
|
||||
children: [
|
||||
@@ -63,6 +64,7 @@ class _CreateBusinessDetailState extends State<JobListingDetail> {
|
||||
);
|
||||
}
|
||||
|
||||
/// Top card including title, logo, description, and business name
|
||||
Widget _summaryCard(JobListing listing) {
|
||||
return Card(
|
||||
clipBehavior: Clip.antiAlias,
|
||||
@@ -147,6 +149,7 @@ class _CreateBusinessDetailState extends State<JobListingDetail> {
|
||||
);
|
||||
}
|
||||
|
||||
/// Edit / delete actions if the user is logged in
|
||||
List<Widget>? _getActions(JobListing listing, Business fromBusiness) {
|
||||
if (loggedIn) {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user