mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -05:00
Fix reverse sorting when in sort-by-date mode.
This commit is contained in:
parent
7b2a754009
commit
014691bac9
@ -897,8 +897,11 @@ public class FolderMessageList extends ExpandableListActivity
|
|||||||
|
|
||||||
private void onToggleSortAscending()
|
private void onToggleSortAscending()
|
||||||
{
|
{
|
||||||
sortAscending = !sortAscending;
|
MessagingController.getInstance(getApplication()).setSortAscending(sortType, !sortAscending);
|
||||||
MessagingController.getInstance(getApplication()).setSortAscending(sortType, sortAscending);
|
|
||||||
|
sortAscending = MessagingController.getInstance(getApplication()).isSortAscending(sortType);
|
||||||
|
sortDateAscending = MessagingController.getInstance(getApplication()).isSortAscending(SORT_TYPE.SORT_DATE);
|
||||||
|
|
||||||
reSort();
|
reSort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user