Fixed gray color selection on dailies and todo's fragment

This commit is contained in:
aleien 2019-10-11 20:41:28 +03:00 committed by Phillip Thelen
parent 1d15e67ce3
commit 2e6b8a88f8

View file

@ -2,7 +2,6 @@ package com.habitrpg.android.habitica.ui.fragments.tasks
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.drawable.BitmapDrawable
import android.os.Bundle
import android.util.TypedValue
@ -150,7 +149,6 @@ open class TaskRecyclerViewFragment : BaseFragment(), androidx.swiperefreshlayou
override fun onSelectedChanged(viewHolder: androidx.recyclerview.widget.RecyclerView.ViewHolder?, actionState: Int) {
super.onSelectedChanged(viewHolder, actionState)
if (viewHolder != null) {
viewHolder.itemView.setBackgroundColor(Color.LTGRAY)
if (fromPosition == null) {
fromPosition = viewHolder.adapterPosition
}