mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Have a dynamic subtitle for the MessageList action bar too.
This commit is contained in:
parent
1036fe531d
commit
c0e483d2b9
@ -519,8 +519,13 @@ public class MessageList extends K9ListActivity implements OnItemClickListener,
|
||||
mFolderName);
|
||||
|
||||
mActionBarTitle.setText(displayName);
|
||||
mActionBarSubTitle.setText(mAccount.getEmail());
|
||||
|
||||
String operation = mAdapter.mListener.getOperation(MessageList.this, getTimeFormat()).trim();
|
||||
if (operation.length() < 1) {
|
||||
mActionBarSubTitle.setText(mAccount.getEmail());
|
||||
} else {
|
||||
mActionBarSubTitle.setText(operation);
|
||||
}
|
||||
// query result display
|
||||
} else if (mQueryString != null) {
|
||||
if (mTitle != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user