refactor: use isRemote instead of reloadWhenClicked
Why are my variable naming abilities be so awful?
This commit is contained in:
@@ -58,7 +58,7 @@ public class CustomLocalTimelineFragment extends StatusListFragment implements P
|
||||
result.stream().forEach(status -> {
|
||||
status.account.acct += "@"+domain;
|
||||
status.mentions.forEach(mention -> mention.id = null);
|
||||
status.reloadWhenClicked = true;
|
||||
status.isRemote = true;
|
||||
});
|
||||
|
||||
onDataLoaded(result, !result.isEmpty());
|
||||
|
||||
@@ -67,7 +67,7 @@ public abstract class StatusListFragment extends BaseStatusListFragment<Status>
|
||||
Status status=getContentStatusByID(id);
|
||||
if(status==null)
|
||||
return;
|
||||
if(status.reloadWhenClicked){
|
||||
if(status.isRemote){
|
||||
UiUtils.lookupStatus(getContext(), status, accountID, null, status1 -> {
|
||||
status1.filterRevealed = true;
|
||||
Bundle args=new Bundle();
|
||||
|
||||
Reference in New Issue
Block a user