mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-24 20:40:09 +01:00
removing a redundant function
This commit is contained in:
parent
72a17c65d8
commit
733071a624
@ -47,8 +47,6 @@ class NotesPagerAdapter(fm: FragmentManager, val notes: List<Note>, val activity
|
|||||||
|
|
||||||
fun getFragment(position: Int) = fragments[position]
|
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 textFragment(position: Int): TextFragment? = (fragments[position] as? TextFragment)
|
||||||
|
|
||||||
fun getCurrentNotesView(position: Int) = (fragments[position] as? TextFragment)?.getNotesView()
|
fun getCurrentNotesView(position: Int) = (fragments[position] as? TextFragment)?.getNotesView()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user