Add the button to delete beneficiaries
This commit is contained in:
		
							parent
							
								
									1957c0711c
								
							
						
					
					
						commit
						99ab2f006d
					
				| @ -18,6 +18,14 @@ class BeneficiaryListPage extends StatelessWidget { | |||||||
|                 final item = state.beneficiaries[index]; |                 final item = state.beneficiaries[index]; | ||||||
|                 return ListTile( |                 return ListTile( | ||||||
|                   leading: ImageWrapper(title: item.name, path: item.imagePath), |                   leading: ImageWrapper(title: item.name, path: item.imagePath), | ||||||
|  |                   // TODO: Allow deleting beneficiaries | ||||||
|  |                   trailing: IconButton( | ||||||
|  |                       onPressed: null, | ||||||
|  |                       icon: Icon( | ||||||
|  |                         Icons.delete, | ||||||
|  |                         color: Colors.grey, | ||||||
|  |                       ), | ||||||
|  |                   ), | ||||||
|                   title: Text(item.name), |                   title: Text(item.name), | ||||||
|                 ); |                 ); | ||||||
|               }, |               }, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user