removing a redundant function

This commit is contained in:
tibbi 2021-12-25 19:49:09 +01:00
parent 72a17c65d8
commit 733071a624

View File

@ -47,8 +47,6 @@ class NotesPagerAdapter(fm: FragmentManager, val notes: List<Note>, val activity
fun getFragment(position: Int) = fragments[position]
fun isChecklistFragment(position: Int): Boolean = (fragments[position] is ChecklistFragment)
fun textFragment(position: Int): TextFragment? = (fragments[position] as? TextFragment)
fun getCurrentNotesView(position: Int) = (fragments[position] as? TextFragment)?.getNotesView()