mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 04:35:26 +00:00
Dialog improvements (#308)
This commit is contained in:
@ -293,6 +293,8 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
L10().stockItemDelete,
|
||||
L10().stockItemDeleteConfirm,
|
||||
icon: FontAwesomeIcons.trashCan,
|
||||
color: Colors.red,
|
||||
acceptText: L10().delete,
|
||||
onAccept: () async {
|
||||
final bool result = await widget.item.delete();
|
||||
|
||||
|
Reference in New Issue
Block a user