Skip to content

Commit

Permalink
Adjust fix for due date
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Apr 11, 2024
1 parent 8752775 commit 0beb722
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ui/invoice/edit/invoice_edit_desktop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class InvoiceEditDesktopState extends State<InvoiceEditDesktop>
Flexible(
flex: 3,
child: Column(
key: ValueKey('__invoice_${invoice.id}_${invoice.updatedAt}__'),
key: ValueKey('__invoice_${invoice.id}__'),
children: <Widget>[
Row(
crossAxisAlignment: CrossAxisAlignment.start,
Expand Down Expand Up @@ -456,7 +456,8 @@ class InvoiceEditDesktopState extends State<InvoiceEditDesktop>
},
),
DatePicker(
key: ValueKey('__terms_${client.id}__'),
key: ValueKey(
'__due_date_${client.id}_${invoice.updatedAt}__'),
labelText: entityType == EntityType.invoice ||
entityType == EntityType.purchaseOrder
? localization.dueDate
Expand Down

0 comments on commit 0beb722

Please sign in to comment.