Queue: Keep sorted #1556
This commit is contained in:
parent
5bc15a73ad
commit
906142cbf3
|
@ -288,10 +288,8 @@ public class QueueFragment extends Fragment {
|
||||||
// Hide sort menu items for sort orders that are not supported by automatic sort.
|
// Hide sort menu items for sort orders that are not supported by automatic sort.
|
||||||
MenuItem sortRandomItem = menu.findItem(R.id.queue_sort_random);
|
MenuItem sortRandomItem = menu.findItem(R.id.queue_sort_random);
|
||||||
sortRandomItem.setVisible(!sortedAutomatically);
|
sortRandomItem.setVisible(!sortedAutomatically);
|
||||||
MenuItem sortSmart1Item = menu.findItem(R.id.queue_sort_smart_shuffle_asc);
|
MenuItem sortSmartShuffleItem = menu.findItem(R.id.queue_sort_smart_shuffle);
|
||||||
sortSmart1Item.setVisible(!sortedAutomatically);
|
sortSmartShuffleItem.setVisible(!sortedAutomatically);
|
||||||
MenuItem sortSmart2Item = menu.findItem(R.id.queue_sort_smart_shuffle_desc);
|
|
||||||
sortSmart2Item.setVisible(!sortedAutomatically);
|
|
||||||
|
|
||||||
isUpdatingFeeds = MenuItemUtils.updateRefreshMenuItem(menu, R.id.refresh_item, updateRefreshMenuItemChecker);
|
isUpdatingFeeds = MenuItemUtils.updateRefreshMenuItem(menu, R.id.refresh_item, updateRefreshMenuItemChecker);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue