mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-10 19:13:03 +02:00
Added swipe to junk
This commit is contained in:
@@ -173,6 +173,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
static final Long SWIPE_ACTION_MOVE = -5L;
|
||||
static final Long SWIPE_ACTION_FLAG = -6L;
|
||||
static final Long SWIPE_ACTION_DELETE = -7L;
|
||||
static final Long SWIPE_ACTION_JUNK = -8L;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
@@ -1729,6 +1730,11 @@ public class FragmentAccount extends FragmentBase {
|
||||
move.name = getString(R.string.title_move);
|
||||
folders.add(move);
|
||||
|
||||
EntityFolder junk = new EntityFolder();
|
||||
junk.id = SWIPE_ACTION_JUNK;
|
||||
junk.name = getString(R.string.title_spam);
|
||||
folders.add(junk);
|
||||
|
||||
EntityFolder delete = new EntityFolder();
|
||||
delete.id = SWIPE_ACTION_DELETE;
|
||||
delete.name = getString(R.string.title_delete);
|
||||
|
||||
Reference in New Issue
Block a user