Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Apr 4, 2022
2 parents 66cc575 + f308483 commit 564d2ea
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions lib/ui/app/invoice/invoice_email_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,17 @@ class _InvoiceEmailViewState extends State<InvoiceEmailView>
Expanded(
child: ColoredBox(
color: Colors.white,
child: ExampleEditor(
value: _rawBodyPreview,
onChanged: (value) {
if (value.trim() != _bodyController.text.trim()) {
_bodyController.text = value;
_onChanged();
}
},
child: IgnorePointer(
ignoring: !enableCustomEmail,
child: ExampleEditor(
value: _rawBodyPreview,
onChanged: (value) {
if (value.trim() != _bodyController.text.trim()) {
_bodyController.text = value;
_onChanged();
}
},
),
),
),
)
Expand Down

0 comments on commit 564d2ea

Please sign in to comment.