update pickup
This commit is contained in:
@@ -75,10 +75,12 @@ class _DiscountByWeightEditorState extends State<DiscountByWeightEditor> {
|
||||
backgroundColor: primaryColor,
|
||||
title: Text(AppTranslations.of(context)!.text("discount.new")),
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: Icon(Icons.delete),
|
||||
onPressed: _delete,
|
||||
)
|
||||
_isNew
|
||||
? Container()
|
||||
: IconButton(
|
||||
icon: Icon(Icons.delete),
|
||||
onPressed: _delete,
|
||||
)
|
||||
],
|
||||
),
|
||||
body: Container(
|
||||
|
||||
Reference in New Issue
Block a user