Skip to content

Commit

Permalink
Merge pull request #25 from Infomaniak/fix-html-saving
Browse files Browse the repository at this point in the history
Move saving of the html where it actually matters
  • Loading branch information
sirambd authored Jul 9, 2024
2 parents cf3d88e + 962b5b4 commit ee32dec
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,8 @@ class EditorSampleFragment : Fragment() {
}
}

override fun onSaveInstanceState(outState: Bundle) {
editorSampleViewModel.editorReloader.save(binding.editor)
super.onSaveInstanceState(outState)
}

override fun onDestroyView() {
editorSampleViewModel.editorReloader.save(binding.editor)
super.onDestroyView()
_binding = null
}
Expand Down

0 comments on commit ee32dec

Please sign in to comment.