mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
couple correections to viewpager
This commit is contained in:
@ -31,8 +31,4 @@ class NotesPagerAdapter(fm: FragmentManager, private val notes: List<Note>) : Fr
|
||||
fragments.put(position, fragment)
|
||||
return fragment
|
||||
}
|
||||
|
||||
fun saveNote(pos: Int) {
|
||||
fragments.get(pos)?.saveText()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user