diff --git a/app/src/main/java/com/beemdevelopment/aegis/vault/VaultBackupManager.java b/app/src/main/java/com/beemdevelopment/aegis/vault/VaultBackupManager.java index e235337d6..6ce60b491 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/vault/VaultBackupManager.java +++ b/app/src/main/java/com/beemdevelopment/aegis/vault/VaultBackupManager.java @@ -118,7 +118,7 @@ public boolean hasPermissionsAt(Uri uri) { } private void enforceVersioning(DocumentFile dir, int versionsToKeep) { - if (versionsToKeep < 0) { + if (versionsToKeep <= 0) { return; }