update pickup

This commit is contained in:
tzw
2021-10-09 17:08:28 +06:30
parent 46da87dc0e
commit 50901992d7
21 changed files with 597 additions and 274 deletions

View File

@@ -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(