mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Added swipe move
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user