mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
Fix long press vibration on items without actions in recents
This commit is contained in:
parent
27fef68e54
commit
aa8bc85acd
@ -52,5 +52,10 @@ class DateItem(val date: Date, val addedString: Boolean = false) : AbstractHeade
|
|||||||
sectionText.text =
|
sectionText.text =
|
||||||
if (item.addedString) itemView.context.getString(R.string.fetched_, dateString) else dateString
|
if (item.addedString) itemView.context.getString(R.string.fetched_, dateString) else dateString
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onLongClick(view: View?): Boolean {
|
||||||
|
super.onLongClick(view)
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,9 @@ class RecentMangaFooterHolder(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onLongClick(view: View?): Boolean {
|
||||||
|
super.onLongClick(view)
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,11 @@ class RecentMangaHeaderItem(val recentsType: Int) :
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onLongClick(view: View?): Boolean {
|
||||||
|
super.onLongClick(view)
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
Loading…
Reference in New Issue
Block a user