feat: Limit professional expertise tags to three with a "more" pill and implement save button state management for profile settings based on field changes.

This commit is contained in:
pradeepkumar
2026-03-20 17:05:43 +05:30
parent ea7c003e6a
commit 6fe21e3e3c
3 changed files with 40 additions and 7 deletions

View File

@@ -146,8 +146,10 @@ class ProfileActionButtons extends StatelessWidget {
Expanded(
flex: 3,
child: GestureDetector(
onTap: isSaving ? null : onSave,
child: Container(
onTap: (isSaving || !hasChanges) ? null : onSave,
child: Opacity(
opacity: hasChanges ? 1.0 : 0.5,
child: Container(
height: 31,
padding: const EdgeInsets.symmetric(horizontal: 8),
decoration: BoxDecoration(
@@ -174,6 +176,7 @@ class ProfileActionButtons extends StatelessWidget {
)),
),
),
),
),
),
],