mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Added flag on swipe
This commit is contained in:
@@ -153,6 +153,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
static final Long SWIPE_ACTION_SNOOZE = -3L;
|
||||
static final Long SWIPE_ACTION_HIDE = -4L;
|
||||
static final Long SWIPE_ACTION_MOVE = -5L;
|
||||
static final Long SWIPE_ACTION_FLAG = -6L;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
@@ -1495,6 +1496,11 @@ public class FragmentAccount extends FragmentBase {
|
||||
seen.name = getString(R.string.title_seen);
|
||||
folders.add(seen);
|
||||
|
||||
EntityFolder flag = new EntityFolder();
|
||||
flag.id = SWIPE_ACTION_FLAG;
|
||||
flag.name = getString(R.string.title_flag);
|
||||
folders.add(flag);
|
||||
|
||||
EntityFolder snooze = new EntityFolder();
|
||||
snooze.id = SWIPE_ACTION_SNOOZE;
|
||||
snooze.name = getString(R.string.title_snooze_now);
|
||||
|
||||
Reference in New Issue
Block a user