Re-enable options menu in NotificationsFragment (#4419)
The menu doesn't show up anymore after merging #4026. I assume this was unintentional since the Fragment still implements `MenuProvider`.
This commit is contained in:
parent
d1518956e1
commit
84fda7bade
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue