File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
app/src/main/java/to/bitkit/repositories Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments