Move automatic backups from /backup/automatic to /autobackup

Removes the need to try to create child folders, which simplifies things.

(cherry picked from commit f365b53a0fbfb6f4147c688416e101aee9bae7fc)
This commit is contained in:
arkon
2023-11-26 16:04:25 -05:00
committed by Jobobby04
parent b037ca7e24
commit b23e269ac6
2 changed files with 1 additions and 2 deletions
@@ -120,7 +120,6 @@ class BackupCreator(
if (isAutoBackup) {
// Get dir of file and create
val dir = UniFile.fromUri(context, uri)
.createDirectory("automatic")
// Delete older backups
dir.listFiles { _, filename -> Backup.filenameRegex.matches(filename) }