Fix view holder truncating posts using temporary debug settings at 50 chars
This commit is contained in:
parent
215b47809c
commit
ff659f1ee8
|
@ -522,7 +522,7 @@ abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
||||||
// - Trim invisible characters off the end of the 500-limited string
|
// - Trim invisible characters off the end of the 500-limited string
|
||||||
// - Slimmed code for saving LOCs
|
// - Slimmed code for saving LOCs
|
||||||
|
|
||||||
int keep = 50 - (dest.length() - (dend - dstart));
|
int keep = 500 - (dest.length() - (dend - dstart));
|
||||||
if(keep <= 0) return "";
|
if(keep <= 0) return "";
|
||||||
if(keep >= end - start) return null; // keep original
|
if(keep >= end - start) return null; // keep original
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue