Refactor: Change profile tab cancel actions to reset form state instead of navigating, and adjust agent availability UI.
This commit is contained in:
1 parent
f6263b833c
commit
aaed88d51d
5 files changed
+30
-18
No files matched your search
@@ -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