Update DocumentationRepository.kt

This commit is contained in:
2026-08-23 22:59:10 +02:00
parent 50af2a753e
commit 139dd9f9ec
@@ -118,7 +118,7 @@ class DocumentationRepository(
*/ */
suspend fun continueDocumentation( suspend fun continueDocumentation(
sourceDocumentationId: String, sourceDocumentationId: String,
copyPhotos: Boolean = false, copyPhotos: Boolean = true,
): Documentation = db.withTransaction { ): Documentation = db.withTransaction {
val source = documentationDao.getFullDocumentation(sourceDocumentationId) val source = documentationDao.getFullDocumentation(sourceDocumentationId)
?: error("Quell-Dokumentation $sourceDocumentationId nicht gefunden") ?: error("Quell-Dokumentation $sourceDocumentationId nicht gefunden")