do not update the back arrow at contextual menu
This commit is contained in:
parent
d8a0479340
commit
6c3bec93a5
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
if (updateHomeAsUpColor) {
|
||||
if (updateHomeAsUpColor && !isContextualMenu) {
|
||||
val drawableId = if (useCrossAsBack) R.drawable.ic_cross_vector else R.drawable.ic_arrow_left_vector
|
||||
val icon = resources.getColoredDrawableWithColor(drawableId, color)
|
||||
supportActionBar?.setHomeAsUpIndicator(icon)
|
||||
|
|
Loading…
Reference in a new issue