enable back menu in NotificationsFragment

This commit is contained in:
Christophe Beyls 2024-05-04 00:25:13 +02:00
parent b2c0b18c8e
commit a21041377d
1 changed files with 2 additions and 0 deletions

View File

@ -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,