Skip to content

Commit

Permalink
Merge pull request woocommerce#10917 from woocommerce/issue-10914/ord…
Browse files Browse the repository at this point in the history
…er-details-edit-button-fix

[Tablet Support] Order Details - Pencil Icon Clickability in Customer Note Section
  • Loading branch information
samiuelson authored Feb 26, 2024
2 parents 26d3ff6 + 4ff4a87 commit 5f2e15a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ class OrderDetailCustomerInfoView @JvmOverloads constructor(
binding.customerInfoCustomerNote.setIsReadOnly(isReadOnly)

if (!isReadOnly) {
binding.customerInfoCustomerNote.binding.notEmptyLabel.setClickableParent(
binding.customerInfoCustomerNoteSection
)

binding.customerInfoCustomerNoteSection.setOnClickListener {
val action =
OrderDetailFragmentDirections.actionOrderDetailFragmentToEditCustomerOrderNoteFragment(
Expand Down

0 comments on commit 5f2e15a

Please sign in to comment.