mirror of
https://github.com/tuskyapp/Tusky
synced 2025-02-03 13:57:35 +01:00
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
|
||||
// - 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 >= end - start) return null; // keep original
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user