Skip to content

Commit

Permalink
Merge pull request #227 from m-threethousand/BugFix_mark_as_read
Browse files Browse the repository at this point in the history
BugFix: Mark displayed articles as read does not work
  • Loading branch information
bubelov authored Oct 22, 2024
2 parents d234932 + 76e204b commit c5de581
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/src/main/kotlin/entries/EntriesFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ class EntriesFragment : Fragment(), OnItemReselectedListener {
}
}

override fun onDestroyView() {
super.onDestroyView()
_binding = null
override fun onStop() {
super.onStop()

val state = model.state.value

Expand All @@ -122,6 +121,12 @@ class EntriesFragment : Fragment(), OnItemReselectedListener {
}
}

override fun onDestroyView() {
super.onDestroyView()

_binding = null
}

override fun onNavigationItemReselected(item: MenuItem) {
scrollToTop()
}
Expand Down

0 comments on commit c5de581

Please sign in to comment.