refactor: remove licensing areas section from agent detail and home screens
This commit is contained in:
@@ -838,10 +838,6 @@ class _AgentDetailScreenState extends ConsumerState<AgentDetailScreen> {
|
||||
_buildExperienceItem(state.contractsClosedLabel, [
|
||||
state.contractsClosed,
|
||||
]),
|
||||
// Licensing Areas (always show)
|
||||
state.licensingAreas.isNotEmpty
|
||||
? _buildLicensingAreas(state.licensingAreas, state.licensingAreasLabel)
|
||||
: _buildEmptySection(state.licensingAreasLabel, 'No licensed areas added'),
|
||||
// Expertise Years (always show)
|
||||
state.expertiseYears.isNotEmpty
|
||||
? _buildExpertiseYears(state.expertiseYears, state.expertiseYearsLabel)
|
||||
|
||||
@@ -844,20 +844,6 @@ class _AgentHomeContentState extends ConsumerState<_AgentHomeContent> {
|
||||
_buildExperienceRow(
|
||||
state.contractsClosedLabel, state.contractsClosed),
|
||||
const Divider(height: 24, thickness: 0.2),
|
||||
if (state.licensingAreas.isNotEmpty) ...[
|
||||
Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Text(state.licensingAreasLabel,
|
||||
style: const TextStyle(
|
||||
fontFamily: 'Fractul',
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: AppColors.primaryDark)),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
_buildTagsWrap(state.licensingAreas, sectionKey: 'licensing'),
|
||||
const SizedBox(height: 16),
|
||||
],
|
||||
if (state.expertiseYears.isNotEmpty) ...[
|
||||
Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
|
||||
Reference in New Issue
Block a user