Skip to content

Commit

Permalink
Don't enforce backup versioning if versionsToKeep <= 0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Jul 23, 2024
1 parent 6a67ca4 commit 4ea19a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public boolean hasPermissionsAt(Uri uri) {
}

private void enforceVersioning(DocumentFile dir, int versionsToKeep) {
if (versionsToKeep < 0) {
if (versionsToKeep <= 0) {
return;
}

Expand Down

0 comments on commit 4ea19a2

Please sign in to comment.