mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Addes swipe snooze action
This commit is contained in:
@@ -145,6 +145,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
|
||||
static final Long SWIPE_ACTION_ASK = -1L;
|
||||
static final Long SWIPE_ACTION_SEEN = -2L;
|
||||
static final Long SWIPE_ACTION_SNOOZE = -3L;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
@@ -1429,6 +1430,11 @@ public class FragmentAccount extends FragmentBase {
|
||||
seen.name = getString(R.string.title_seen);
|
||||
folders.add(seen);
|
||||
|
||||
EntityFolder snooze = new EntityFolder();
|
||||
snooze.id = SWIPE_ACTION_SNOOZE;
|
||||
snooze.name = getString(R.string.title_snooze_now);
|
||||
folders.add(snooze);
|
||||
|
||||
folders.addAll(_folders);
|
||||
|
||||
adapterSwipe.clear();
|
||||
|
||||
Reference in New Issue
Block a user