8.6
liugl
2020-08-06 3f55faa0a1298bc2320d1e749f0b08b25b85d671
app/src/main/java/com/okgoincar/slab/event/SlabMineEventAdapter.kt
@@ -26,10 +26,10 @@
    private fun setblack(nowTimeBlack: Boolean, itemView: View) {
        if (nowTimeBlack){
            itemView.rl_back.setBackgroundResource(R.color.black_191919)
            itemView.rl_back.setBackgroundResource(R.color.slab_gray)
            itemView.tv_start.textColor(context,R.color.write)
        }else{
            itemView.rl_back.setBackgroundResource(R.drawable.write)
            itemView.rl_back.setBackgroundResource(R.color.write)
            itemView.tv_start.textColor(context,R.color.black)
        }
    }