Issue #21794: Remove rotation; rely on state activated

It seems like we no longer need to use rotation for the chevron, since
we are now using two different icons within the `ic_chevon` that change
depending on the `state_activated`.

(cherry picked from commit 722ab9f3ca)
pull/415/head
Jonathan Almeida 3 years ago committed by Jonathan Almeida
parent 1b70be55ed
commit 135f8a363c

@ -46,7 +46,6 @@ sealed class InactiveTabViewHolder(itemView: View) : RecyclerView.ViewHolder(ite
inactiveTabsInteractor.onHeaderClicked(newState)
it.isActivated = newState
binding.chevron.rotation = ROTATION_DEGREE
correctHeaderBorder(isActivated)
}
@ -68,7 +67,6 @@ sealed class InactiveTabViewHolder(itemView: View) : RecyclerView.ViewHolder(ite
companion object {
const val LAYOUT_ID = R.layout.inactive_header_item
private const val ROTATION_DEGREE = 180F
}
}

Loading…
Cancel
Save