From 25f9e6052727a5e8d4cbdb7164f40969868df189 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sun, 17 Mar 2024 09:16:35 -0300 Subject: [PATCH] fix(mentions-tab): make mentions tab actually show only mentions --- .../android/fragments/NotificationsListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java index 6c8b9f791e..1c6cbbf6d2 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java @@ -69,7 +69,7 @@ protected boolean wantsComposeButton() { public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); E.register(this); - onlyMentions=AccountSessionManager.get(accountID).isNotificationsMentionsOnly(); + onlyMentions=getArguments().getBoolean("onlyMentions", false); setHasOptionsMenu(true); }