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`.
upstream-sync
Jonathan Almeida 3 years ago committed by mergify[bot]
parent 3093945658
commit 722ab9f3ca

@ -47,7 +47,6 @@ sealed class InactiveTabViewHolder(itemView: View) : RecyclerView.ViewHolder(ite
inactiveTabsInteractor.onHeaderClicked(newState)
it.isActivated = newState
binding.chevron.rotation = ROTATION_DEGREE
correctHeaderBorder(isActivated)
}
@ -69,7 +68,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