mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-24 07:46:07 +00:00
Disable drag and drop when list is sorted
This commit is contained in:
parent
ecdadf5335
commit
b9d011b48e
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ public class EntryListView extends Fragment implements EntryAdapter.Listener {
|
|||
}
|
||||
|
||||
public void setSortCategory(SortCategory sortCategory) {
|
||||
_touchCallback.setIsLongPressDragEnabled(sortCategory == SortCategory.CUSTOM);
|
||||
|
||||
_adapter.setSortCategory(sortCategory);
|
||||
runLayoutAnimation(_rvKeyProfiles);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue