From 27d14d2d4e9085abd9471ad42ef093f57b9e3f57 Mon Sep 17 00:00:00 2001 From: enlineawork Date: Tue, 8 Sep 2026 10:29:24 -0300 Subject: [PATCH] refactor(f4): remove legacy mobile act lifecycle aliases --- .../com/korexlabs/dhinspeccion/data/MobileActs.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/android-app/app/src/main/java/com/korexlabs/dhinspeccion/data/MobileActs.kt b/android-app/app/src/main/java/com/korexlabs/dhinspeccion/data/MobileActs.kt index 3691826..49ca613 100644 --- a/android-app/app/src/main/java/com/korexlabs/dhinspeccion/data/MobileActs.kt +++ b/android-app/app/src/main/java/com/korexlabs/dhinspeccion/data/MobileActs.kt @@ -367,14 +367,6 @@ class MobileActsRepository(context: Context) { api.lock("Bearer ${session.accessToken}", actId) } - /** Transitional alias used only while the F4 screen migration is in this branch. */ - suspend fun prepare(actId: String): MobileActClosure = lock(actId) - - /** F4 does not allow reopening an Act once it has been locked. */ - suspend fun reopen(@Suppress("UNUSED_PARAMETER") actId: String): MobileActClosure { - throw IllegalStateException("Un Acta finalizada es inmutable y no puede volver a borrador") - } - suspend fun signInspector( actId: String, png: File, @@ -414,9 +406,6 @@ class MobileActsRepository(context: Context) { api.sealAct("Bearer ${session.accessToken}", actId, MobileSealActRequest()) } - /** Transitional alias used only while the F4 screen migration is in this branch. */ - suspend fun closeAct(actId: String): MobileActClosure = seal(actId) - suspend fun closeVisit(visitId: String): VisitDetail = authorized { session -> api.closeVisit("Bearer ${session.accessToken}", visitId, MobileCloseVisitRequest()) }