refactor: remove licensing areas section from agent detail and home screens

This commit is contained in:
pradeepkumar
2026-04-15 19:08:53 +05:30
parent 3a86758561
commit 73277092fa
2 changed files with 0 additions and 18 deletions

View File

@@ -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)

View File

@@ -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,