Skip to content

Commit

Permalink
Re-enable options menu in NotificationsFragment (#4419)
Browse files Browse the repository at this point in the history
The menu doesn't show up anymore after merging #4026.
I assume this was unintentional since the Fragment still implements
`MenuProvider`.
  • Loading branch information
cbeyls authored May 10, 2024
1 parent d151895 commit 84fda7b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ class NotificationsFragment :
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
requireActivity().addMenuProvider(this, viewLifecycleOwner, Lifecycle.State.RESUMED)

val statusDisplayOptions = StatusDisplayOptions(
animateAvatars = preferences.getBoolean(PrefKeys.ANIMATE_GIF_AVATARS, false),
mediaPreviewEnabled = accountManager.activeAccount!!.mediaPreviewEnabled,
Expand Down

0 comments on commit 84fda7b

Please sign in to comment.