Refactor: Change profile tab cancel actions to reset form state instead of navigating, and adjust agent availability UI.
This commit is contained in:
@@ -438,16 +438,7 @@ class _AgentHomeContentState extends ConsumerState<_AgentHomeContent> {
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
if (_isTogglingAvailability && !isActive)
|
||||
const SizedBox(
|
||||
width: 16,
|
||||
height: 16,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 2,
|
||||
color: AppColors.accentOrange,
|
||||
),
|
||||
)
|
||||
else if (isActive)
|
||||
if (isActive)
|
||||
Text(
|
||||
'Active',
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user