Added swipe move

This commit is contained in:
M66B
2019-10-23 15:53:25 +02:00
parent 5eb7975899
commit adb480c972
2 changed files with 51 additions and 31 deletions

View File

@@ -152,6 +152,7 @@ public class FragmentAccount extends FragmentBase {
static final Long SWIPE_ACTION_SEEN = -2L;
static final Long SWIPE_ACTION_SNOOZE = -3L;
static final Long SWIPE_ACTION_HIDE = -4L;
static final Long SWIPE_ACTION_MOVE = -5L;
@Override
public void onCreate(Bundle savedInstanceState) {
@@ -1504,6 +1505,11 @@ public class FragmentAccount extends FragmentBase {
hide.name = getString(R.string.title_hide);
folders.add(hide);
EntityFolder move = new EntityFolder();
move.id = SWIPE_ACTION_MOVE;
move.name = getString(R.string.title_move);
folders.add(move);
folders.addAll(_folders);
adapterSwipe.clear();