mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 13:39:24 +00:00
Fix bug when scheudling backups.
This commit is contained in:
committed by
Greyson Parrelli
parent
a0172ddb2f
commit
033004719a
@@ -52,7 +52,7 @@ public class LocalBackupListener extends PersistentAlarmManagerListener {
|
||||
} else {
|
||||
LocalDateTime now = LocalDateTime.now();
|
||||
LocalDateTime next = now.withHour(2).withMinute(0).withSecond(0);
|
||||
if (now.getHour() > 2) {
|
||||
if (now.getHour() >= 2) {
|
||||
next = next.plusDays(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user