Skip to content

Commit 733071a

Browse files
committed
removing a redundant function
1 parent 72a17c6 commit 733071a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/NotesPagerAdapter.kt

-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ class NotesPagerAdapter(fm: FragmentManager, val notes: List<Note>, val activity
4747

4848
fun getFragment(position: Int) = fragments[position]
4949

50-
fun isChecklistFragment(position: Int): Boolean = (fragments[position] is ChecklistFragment)
51-
5250
fun textFragment(position: Int): TextFragment? = (fragments[position] as? TextFragment)
5351

5452
fun getCurrentNotesView(position: Int) = (fragments[position] as? TextFragment)?.getNotesView()

0 commit comments

Comments
 (0)