1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Strip Re/Fwd/Aw etc from titles of thread view

This commit is contained in:
Jesse Vincent 2012-11-22 15:24:43 -05:00
parent eacc5e2ffe
commit e2d347f0a3

View File

@ -2882,6 +2882,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
if (mIsThreadDisplay) { if (mIsThreadDisplay) {
cursor.moveToFirst(); cursor.moveToFirst();
mTitle = cursor.getString(SUBJECT_COLUMN); mTitle = cursor.getString(SUBJECT_COLUMN);
mTitle = Utility.stripSubject(mTitle);
if (StringUtils.isNullOrEmpty(mTitle)) { if (StringUtils.isNullOrEmpty(mTitle)) {
mTitle = getString(R.string.general_no_subject); mTitle = getString(R.string.general_no_subject);
} }