mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -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("^On .*wrote.?$","");
|
||||||
text = text.replaceAll("(\\r|\\n)+"," ");
|
text = text.replaceAll("(\\r|\\n)+"," ");
|
||||||
text = text.replaceAll("\\s+"," ");
|
text = text.replaceAll("\\s+"," ");
|
||||||
if (text.length() <= 160)
|
if (text.length() <= 250)
|
||||||
{
|
{
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
text = text.substring(0,160);
|
text = text.substring(0,250);
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user