Show queue lock button even if "keep sorted" is active
The lock button controls whether tracks in the queue can be reordered and swiped. Since swipe works regardless of the "keep sorted" setting, the button to disable swipe should always be available.
This commit is contained in:
parent
b8276d2fb3
commit
d406d3537d
|
@ -242,7 +242,6 @@ public class QueueFragment extends Fragment implements Toolbar.OnMenuItemClickLi
|
|||
private void refreshToolbarState() {
|
||||
MenuItemUtils.refreshLockItem(getActivity(), toolbar.getMenu());
|
||||
boolean keepSorted = UserPreferences.isQueueKeepSorted();
|
||||
toolbar.getMenu().findItem(R.id.queue_lock).setVisible(!keepSorted);
|
||||
|
||||
toolbar.getMenu().findItem(R.id.queue_sort_random).setVisible(!keepSorted);
|
||||
toolbar.getMenu().findItem(R.id.queue_keep_sorted).setChecked(keepSorted);
|
||||
|
|
Loading…
Reference in New Issue