Merge branch 'bug_fix' into develop
This commit is contained in:
commit
281cccadb8
|
@ -300,7 +300,7 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
|
|||
holder.status_document_container.setVisibility(View.GONE);
|
||||
holder.notification_status_content.setVisibility(View.VISIBLE);
|
||||
holder.status_show_more.setVisibility(View.GONE);
|
||||
holder.status_action_container.setVisibility(View.GONE);
|
||||
holder.status_action_container.setVisibility(View.INVISIBLE);
|
||||
}else {
|
||||
holder.status_action_container.setVisibility(View.VISIBLE);
|
||||
|
||||
|
@ -591,7 +591,6 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
|
|||
notificationsListAdapter.notifyDataSetChanged();
|
||||
Handler handler = new Handler();
|
||||
handler.postDelayed(new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
Bitmap bitmap = Helper.convertTootIntoBitmap(context, holder.getView());
|
||||
|
@ -618,7 +617,7 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
|
|||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
}, 1000);
|
||||
}, 500);
|
||||
return true;
|
||||
default:
|
||||
return true;
|
||||
|
|
|
@ -607,7 +607,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
holder.status_content_container.setVisibility(View.VISIBLE);
|
||||
holder.status_translate.setVisibility(View.GONE);
|
||||
holder.status_show_more.setVisibility(View.GONE);
|
||||
holder.status_action_container.setVisibility(View.GONE);
|
||||
holder.status_action_container.setVisibility(View.INVISIBLE);
|
||||
}else {
|
||||
holder.status_action_container.setVisibility(View.VISIBLE);
|
||||
if( trans_forced || (translator != Helper.TRANS_NONE && currentLocale != null && status.getLanguage() != null && !status.getLanguage().trim().equals(currentLocale))){
|
||||
|
@ -1052,9 +1052,9 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
case R.id.action_mention:
|
||||
status.setTakingScreenShot(true);
|
||||
statusListAdapter.notifyDataSetChanged();
|
||||
Handler handler = new Handler();
|
||||
// Get a handler that can be used to post to the main thread
|
||||
final Handler handler = new Handler();
|
||||
handler.postDelayed(new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
Bitmap bitmap = Helper.convertTootIntoBitmap(context, holder.getView());
|
||||
|
@ -1080,8 +1080,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
intent.putExtras(b);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
}, 1000);
|
||||
}, 500);
|
||||
return true;
|
||||
default:
|
||||
return true;
|
||||
|
|
|
@ -1696,7 +1696,7 @@ public class Helper {
|
|||
paint.setStrokeWidth(12);
|
||||
paint.setTextSize(30);
|
||||
paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_OVER));
|
||||
canvas.drawText("Via #Mastalab", view.getWidth()-230, view.getHeight() - 5, paint);
|
||||
canvas.drawText("Via #Mastalab", view.getWidth()-230, view.getHeight() -50, paint);
|
||||
|
||||
if( new_element != null)
|
||||
new_element.setVisibility(new_element_v);
|
||||
|
|
Loading…
Reference in New Issue