Fix sleep timer crash, removed discord etc
This commit is contained in:
parent
933bf70068
commit
55807200d5
48 changed files with 104 additions and 281 deletions
|
@ -64,14 +64,10 @@ open class MediaEntryViewHolder(view: View) : RecyclerView.ViewHolder(view), Vie
|
|||
playSongs = view.findViewById(R.id.playSongs)
|
||||
|
||||
view.setOnClickListener(this@MediaEntryViewHolder)
|
||||
view.setOnLongClickListener(this)
|
||||
view.setOnLongClickListener(this@MediaEntryViewHolder)
|
||||
|
||||
imageContainerCard?.setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
|
||||
|
||||
if (imageTextContainer != null) {
|
||||
imageTextContainer!!.setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
|
||||
}
|
||||
if (imageContainerCard != null) {
|
||||
imageContainerCard!!.setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
|
||||
}
|
||||
}
|
||||
|
||||
fun setImageTransitionName(transitionName: String) {
|
||||
|
|
|
@ -203,7 +203,10 @@ class PlaylistAdapter(protected val activity: AppCompatActivity, dataSet: ArrayL
|
|||
popupMenu.show()
|
||||
}
|
||||
|
||||
imageTextContainer?.cardElevation = 0f
|
||||
imageTextContainer?.apply {
|
||||
cardElevation = 0f
|
||||
setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
|
||||
}
|
||||
}
|
||||
|
||||
override fun onClick(v: View?) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue