Queue: Keep sorted #1556

This commit is contained in:
damoasda 2019-08-10 21:59:19 +02:00
parent 5bc15a73ad
commit 906142cbf3
1 changed files with 2 additions and 4 deletions

View File

@ -288,10 +288,8 @@ public class QueueFragment extends Fragment {
// Hide sort menu items for sort orders that are not supported by automatic sort.
MenuItem sortRandomItem = menu.findItem(R.id.queue_sort_random);
sortRandomItem.setVisible(!sortedAutomatically);
MenuItem sortSmart1Item = menu.findItem(R.id.queue_sort_smart_shuffle_asc);
sortSmart1Item.setVisible(!sortedAutomatically);
MenuItem sortSmart2Item = menu.findItem(R.id.queue_sort_smart_shuffle_desc);
sortSmart2Item.setVisible(!sortedAutomatically);
MenuItem sortSmartShuffleItem = menu.findItem(R.id.queue_sort_smart_shuffle);
sortSmartShuffleItem.setVisible(!sortedAutomatically);
isUpdatingFeeds = MenuItemUtils.updateRefreshMenuItem(menu, R.id.refresh_item, updateRefreshMenuItemChecker);
}