Skip to content
Snippets Groups Projects
Commit 1cdecb60 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Do not create handler just for clearing purpose

parent 0d9d1fbc
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ open class BaseBrowserAdapter(protected val fragment: BaseBrowserFragment) : Dif
}
override fun onDetachedFromRecyclerView(recyclerView: RecyclerView) {
handler.removeCallbacksAndMessages(null)
if (Settings.listTitleEllipsize == 0 || Settings.listTitleEllipsize == 4) handler.removeCallbacksAndMessages(null)
super.onDetachedFromRecyclerView(recyclerView)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment