Remove application for Pleroma

This commit is contained in:
stom79 2019-01-27 18:07:53 +01:00
parent 115a596448
commit 8ae1052eaa
1 changed files with 17 additions and 12 deletions

View File

@ -2188,6 +2188,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
});
}
if( MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.MASTODON){
if (getItemViewType(viewHolder.getAdapterPosition()) == FOCUSED_STATUS && status.getApplication() != null && status.getApplication().getName() != null && status.getApplication().getName().length() > 0) {
Application application = status.getApplication();
holder.status_toot_app.setText(application.getName());
@ -2203,6 +2204,10 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
} else {
holder.status_toot_app.setVisibility(View.GONE);
}
}else{
holder.status_toot_app.setVisibility(View.GONE);
}
}
}