Skip to content

Commit

Permalink
Merge pull request #366 from gotify/force-rerender
Browse files Browse the repository at this point in the history
fix: update date-times on app resume
  • Loading branch information
jmattheis authored Aug 2, 2024
2 parents d1e1703 + 83e2eaa commit eb103d5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ internal class MessagesActivity :
}
}
}
// Force re-render of all items to update relative date-times on app resume.
listMessageAdapter.notifyDataSetChanged()
selectAppInMenu(binding.navView.menu.findItem(selectedIndex))
super.onResume()
}
Expand Down

0 comments on commit eb103d5

Please sign in to comment.