fix: NPE in HeaderStatusDisplayItem when clicking on a "User followed you" avatar header in notifications fragment
This commit is contained in:
@@ -441,7 +441,7 @@ public class HeaderStatusDisplayItem extends StatusDisplayItem{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Bundle args=new Bundle();
|
Bundle args=new Bundle();
|
||||||
if(item.status.reloadWhenClicked){
|
if(item.status != null && item.status.reloadWhenClicked){
|
||||||
UiUtils.lookupAccount(v.getContext(), item.status.account, item.accountID, null, account -> {
|
UiUtils.lookupAccount(v.getContext(), item.status.account, item.accountID, null, account -> {
|
||||||
args.putString("account", item.accountID);
|
args.putString("account", item.accountID);
|
||||||
args.putParcelable("profileAccount", Parcels.wrap(account));
|
args.putParcelable("profileAccount", Parcels.wrap(account));
|
||||||
|
|||||||
Reference in New Issue
Block a user