Skip to content

Commit 91acacc

Browse files
committed
Switch collapse and expand toolbar click listener triggers
1 parent da8f1f2 commit 91acacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/toolbar/AztecToolbar.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,11 @@ class AztecToolbar : FrameLayout, OnMenuItemClickListener {
442442
aztecToolbarListener?.onToolbarHtmlButtonClicked()
443443
}
444444
ToolbarAction.ELLIPSIS_COLLAPSE -> {
445-
aztecToolbarListener?.onToolbarExpandButtonClicked()
445+
aztecToolbarListener?.onToolbarCollapseButtonClicked()
446446
animateToolbarCollapse()
447447
}
448448
ToolbarAction.ELLIPSIS_EXPAND -> {
449-
aztecToolbarListener?.onToolbarCollapseButtonClicked()
449+
aztecToolbarListener?.onToolbarExpandButtonClicked()
450450
animateToolbarExpand()
451451
}
452452
else -> {

0 commit comments

Comments
 (0)