Addes swipe snooze action

This commit is contained in:
M66B
2019-10-06 21:01:01 +02:00
parent 619c54cc15
commit 7221131d78
9 changed files with 109 additions and 60 deletions

View File

@@ -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");