Manage Beneficiary delete Confirm

This commit is contained in:
2025-08-27 15:00:46 +05:30
parent 57cb93c124
commit ceb29ee7fe
2 changed files with 14 additions and 14 deletions

View File

@@ -117,5 +117,5 @@ class BeneficiaryService {
} catch (e) { } catch (e) {
throw Exception('Unexpected error: ${e.toString()}'); throw Exception('Unexpected error: ${e.toString()}');
} }
} }
} }

View File

@@ -60,7 +60,7 @@ void _showDeleteConfirmationDialog(BuildContext context) {
TextButton( TextButton(
child: const Text('Delete'), child: const Text('Delete'),
onPressed: () { onPressed: () {
Navigator.of(context).pop(); //Navigator.of(context).pop();
_deleteBeneficiary(context); _deleteBeneficiary(context);
}, },
), ),