mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Bump up preview length from 160 to 250 to make better use of larger
displays
This commit is contained in:
parent
18cf923072
commit
222808b51d
@ -2267,13 +2267,13 @@ public class LocalStore extends Store implements Serializable
|
||||
text = text.replaceAll("^On .*wrote.?$","");
|
||||
text = text.replaceAll("(\\r|\\n)+"," ");
|
||||
text = text.replaceAll("\\s+"," ");
|
||||
if (text.length() <= 160)
|
||||
if (text.length() <= 250)
|
||||
{
|
||||
return text;
|
||||
}
|
||||
else
|
||||
{
|
||||
text = text.substring(0,160);
|
||||
text = text.substring(0,250);
|
||||
return text;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user