fix: notification badge always reloading. Fixes #130
This commit is contained in:
@@ -145,17 +145,20 @@ public class NotificationsFragment extends MastodonToolbarFragment implements Sc
|
|||||||
Bundle args=new Bundle();
|
Bundle args=new Bundle();
|
||||||
args.putString("account", accountID);
|
args.putString("account", accountID);
|
||||||
args.putBoolean("__is_tab", true);
|
args.putBoolean("__is_tab", true);
|
||||||
|
args.putBoolean("noAutoLoad", true);
|
||||||
|
|
||||||
allNotificationsFragment=new NotificationsListFragment();
|
allNotificationsFragment=new NotificationsListFragment();
|
||||||
allNotificationsFragment.setArguments(args);
|
allNotificationsFragment.setArguments(args);
|
||||||
|
|
||||||
args=new Bundle(args);
|
args=new Bundle(args);
|
||||||
args.putBoolean("onlyMentions", true);
|
args.putBoolean("onlyMentions", true);
|
||||||
|
args.putBoolean("noAutoLoad", true);
|
||||||
mentionsFragment=new NotificationsListFragment();
|
mentionsFragment=new NotificationsListFragment();
|
||||||
mentionsFragment.setArguments(args);
|
mentionsFragment.setArguments(args);
|
||||||
|
|
||||||
args=new Bundle(args);
|
args=new Bundle(args);
|
||||||
args.putBoolean("onlyPosts", true);
|
args.putBoolean("onlyPosts", true);
|
||||||
|
args.putBoolean("noAutoLoad", true);
|
||||||
postsFragment=new NotificationsListFragment();
|
postsFragment=new NotificationsListFragment();
|
||||||
postsFragment.setArguments(args);
|
postsFragment.setArguments(args);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user