clear last item background color when selected
This commit is contained in:
parent
8cb852a2cb
commit
9656f9147c
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ class DetailActivity : AppCompatActivity(), ActionMode.Callback, NotificationFra
|
||||||
private fun endActionModeAndRedraw() {
|
private fun endActionModeAndRedraw() {
|
||||||
actionMode = null
|
actionMode = null
|
||||||
adapter.selected.clear()
|
adapter.selected.clear()
|
||||||
adapter.notifyItemRangeChanged(0, adapter.currentList.size-1)
|
adapter.notifyItemRangeChanged(0, adapter.currentList.size)
|
||||||
|
|
||||||
// Fade status bar color
|
// Fade status bar color
|
||||||
val fromColor = ContextCompat.getColor(this, Colors.statusBarActionMode(this))
|
val fromColor = ContextCompat.getColor(this, Colors.statusBarActionMode(this))
|
||||||
|
|
Loading…
Reference in a new issue