Notifications fixes

This commit is contained in:
Grishka 2022-03-06 11:06:09 +03:00
parent 37bef85f6a
commit abae198e89
2 changed files with 6 additions and 0 deletions

View File

@ -351,6 +351,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
}
});
list.setItemAnimator(new BetterItemAnimator());
((UsableRecyclerView) list).setIncludeMarginsInItemHitbox(true);
updateToolbar();
}

View File

@ -125,6 +125,11 @@ public class NotificationsListFragment extends BaseStatusListFragment<Notificati
if(status.inReplyToAccountId!=null && knownAccounts.containsKey(status.inReplyToAccountId))
args.putParcelable("inReplyToAccount", Parcels.wrap(knownAccounts.get(status.inReplyToAccountId)));
Nav.go(getActivity(), ThreadFragment.class, args);
}else{
Bundle args=new Bundle();
args.putString("account", accountID);
args.putParcelable("profileAccount", Parcels.wrap(n.account));
Nav.go(getActivity(), ProfileFragment.class, args);
}
}