Skip to content

Commit 366a8bc

Browse files
committed
chore: cleanup comments
1 parent 91e0a8b commit 366a8bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/to/bitkit/repositories/BackupRepo.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ class BackupRepo @Inject constructor(
406406
performRestore(BackupCategory.METADATA) { dataBytes ->
407407
val parsed = json.decodeFromString<MetadataBackupV1>(String(dataBytes))
408408

409-
// Restore tag metadata (idempotent via primary key with INSERT OR REPLACE)
410409
parsed.tagMetadata.forEach { entity ->
411410
db.tagMetadataDao().upsert(entity)
412411
}
@@ -433,7 +432,6 @@ class BackupRepo @Inject constructor(
433432
performRestore(BackupCategory.ACTIVITY) { dataBytes ->
434433
val parsed = json.decodeFromString<ActivityBackupV1>(String(dataBytes))
435434

436-
// Restore activities using upsertActivity (idempotent - insert or update)
437435
parsed.activities.forEach { activity ->
438436
activityRepo.upsertActivity(activity)
439437
}

0 commit comments

Comments
 (0)