Add error case for when you don't have enough disk space to create a backup.

This commit is contained in:
Greyson Parrelli
2025-11-12 14:33:40 -05:00
committed by Alex Hart
parent ccdec5113f
commit dd8104bf61
4 changed files with 41 additions and 19 deletions

View File

@@ -88,6 +88,12 @@ fun BackupCreateErrorRow(
}
}
}
BackupValues.BackupCreationError.NOT_ENOUGH_DISK_SPACE -> {
BackupAlertText {
append(stringResource(R.string.BackupStatusRow__not_enough_disk_space, DateUtils.getDayPrecisionTimeString(context, locale, lastMessageCutoffTime)))
}
}
}
}