DEMO: PinView 자동통과 + UI 본체 비표시
빌드 101-103 적용: PIN 화면 진입 시 LaunchedEffect로 즉시 appState.pinVerified()
호출(PIN 저장 안 함). 화면 본체는 if(false) {...}로 비표시 — 빈 MlBackground Box만 노출.
원본 UI는 보존하여 데모 후 깨끗한 롤백 가능.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,13 @@ enum class PinMode { SETUP, ENTER }
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun PinView(appState: AppState, mode: PinMode, context: android.content.Context) {
|
fun PinView(appState: AppState, mode: PinMode, context: android.content.Context) {
|
||||||
|
// DEMO: 자동 통과 — PIN 저장 없이 즉시 verified 처리
|
||||||
|
LaunchedEffect(Unit) { appState.pinVerified() }
|
||||||
|
|
||||||
|
// DEMO: UI 본체 비표시 — 빈 배경만 노출, 원본은 if(false) 안에 보존
|
||||||
|
Box(modifier = Modifier.fillMaxSize().background(MlBackground))
|
||||||
|
|
||||||
|
if (false) {
|
||||||
var enteredPin by remember { mutableStateOf("") }
|
var enteredPin by remember { mutableStateOf("") }
|
||||||
var confirmPin by remember { mutableStateOf("") }
|
var confirmPin by remember { mutableStateOf("") }
|
||||||
var isConfirming by remember { mutableStateOf(false) }
|
var isConfirming by remember { mutableStateOf(false) }
|
||||||
@@ -124,4 +131,5 @@ fun PinView(appState: AppState, mode: PinMode, context: android.content.Context)
|
|||||||
|
|
||||||
Spacer(modifier = Modifier.weight(1f))
|
Spacer(modifier = Modifier.weight(1f))
|
||||||
}
|
}
|
||||||
|
} // end if (false) — DEMO 본체 비표시
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user