mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Dialog improvements (#308)
This commit is contained in:
parent
26b86a2194
commit
cb5c292326
3 changed files with 15 additions and 10 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue