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:
@@ -166,6 +166,15 @@ public class ApplicationEx extends Application {
|
||||
} else if (version < 741)
|
||||
editor.remove("send_dialog");
|
||||
|
||||
else if (version < 751) {
|
||||
if (prefs.contains("notify_snooze_duration")) {
|
||||
int minutes = prefs.getInt("notify_snooze_duration", 60);
|
||||
int hours = (int) Math.ceil(minutes / 60.0);
|
||||
editor.putInt("default_snooze", hours);
|
||||
editor.remove("notify_snooze_duration");
|
||||
}
|
||||
}
|
||||
|
||||
if (BuildConfig.DEBUG && false) {
|
||||
editor.remove("app_support");
|
||||
editor.remove("notify_archive");
|
||||
|
||||
Reference in New Issue
Block a user