Added synchronization to checklist export and import

This commit is contained in:
Agnieszka C
2022-02-24 19:53:28 +01:00
parent 3ddc03f442
commit e965c6ec37
5 changed files with 50 additions and 36 deletions

View File

@ -39,7 +39,7 @@ class NotesPagerAdapter(fm: FragmentManager, val notes: List<Note>, val activity
override fun getPageTitle(position: Int) = notes[position].title
fun updateCurrentNoteData(position: Int, path: String, value: String) {
(fragments[position] as? TextFragment)?.apply {
(fragments[position])?.apply {
updateNotePath(path)
updateNoteValue(value)
}