Skip to content

Commit 2a67b65

Browse files
committed
Long clicks re-enabled so that all toolbar buttons can be consistent.
1 parent 37ce634 commit 2a67b65

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/util/Extensions.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ fun ToggleButton.convertToButtonAccessibilityProperties() {
7575
super.onInitializeAccessibilityNodeInfo(host, info)
7676
info?.className = Button::class.java.name
7777
info?.isCheckable = false
78-
info?.isLongClickable = false
7978
info?.addAction(AccessibilityNodeInfoCompat.AccessibilityActionCompat(ACTION_CLICK, context.getString(R.string.accessibility_action_click_label)))
80-
info?.removeAction(AccessibilityNodeInfoCompat.AccessibilityActionCompat.ACTION_LONG_CLICK)
8179
}
8280
})
8381
}

0 commit comments

Comments
 (0)