Update Send button and tests

This commit is contained in:
Ashita Prasad
2024-12-16 03:41:26 +05:30
parent fe558a066a
commit 3da407b899
4 changed files with 8 additions and 10 deletions

View File

@ -18,17 +18,15 @@ class SendButton extends StatelessWidget {
Widget build(BuildContext context) {
return ADFilledButton(
onPressed: isWorking ? onCancel : onTap,
isTonal: isWorking ? true : false,
items: isWorking
? const [
kHSpacer8,
Text(
kLabelCancel,
style: kTextStyleButton,
),
kHSpacer10,
Icon(
size: 16,
Icons.cancel,
)
kHSpacer6,
]
: const [
Text(