For #11182: Set click listener also to icon button.
parent
e535ac753c
commit
a910698007
|
@ -90,6 +90,7 @@ class CollectionCreationBottomBarView(
|
|||
setImageDrawable(drawable)
|
||||
contentDescription = null
|
||||
importantForAccessibility = View.IMPORTANT_FOR_ACCESSIBILITY_NO
|
||||
setOnClickListener { interactor.addNewCollection() }
|
||||
}
|
||||
layout.setOnClickListener { interactor.addNewCollection() }
|
||||
}
|
||||
|
|
|
@ -74,6 +74,9 @@ class CollectionCreationBottomBarViewTest {
|
|||
|
||||
layout.performClick()
|
||||
verify { interactor.addNewCollection() }
|
||||
|
||||
iconButton.performClick()
|
||||
verify { interactor.addNewCollection() }
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue