Issue with nsfw buttons
This commit is contained in:
parent
48e816f021
commit
612b97a43b
|
@ -1080,7 +1080,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
@Override
|
||||
public void onClick(View v) {
|
||||
loadAttachments(status, holder);
|
||||
holder.status_show_more.setVisibility(View.GONE);
|
||||
status.setAttachmentShown(true);
|
||||
notifyStatusChanged(status);
|
||||
/*
|
||||
|
@ -1101,7 +1100,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
|
||||
public void onFinish() {
|
||||
status.setAttachmentShown(false);
|
||||
holder.status_show_more.setVisibility(View.VISIBLE);
|
||||
notifyStatusChanged(status);
|
||||
}
|
||||
}.start();
|
||||
|
|
|
@ -1201,7 +1201,7 @@ public class Helper {
|
|||
.load(urlHeader)
|
||||
.into(new SimpleTarget<Bitmap>() {
|
||||
@Override
|
||||
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
|
||||
public void onResourceReady(@NonNull Bitmap resource, Transition<? super Bitmap> transition) {
|
||||
ImageView backgroundImage = headerLayout.findViewById(R.id.back_ground_image);
|
||||
backgroundImage.setImageBitmap(resource);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
|
||||
|
|
Loading…
Reference in New Issue