fix(home): 라이브 19금 안내 토스트를 설정 화면에서 표시한다

This commit is contained in:
Yu Sung
2026-03-28 23:25:17 +09:00
parent e067531a3f
commit 8370f1ead1
2 changed files with 72 additions and 3 deletions

View File

@@ -488,9 +488,7 @@ struct HomeView: View {
if !UserDefaults.isAdultContentVisible() {
pendingAction = nil
AppState.shared.errorMessage = I18n.Settings.adultContentEnableGuide
AppState.shared.isShowErrorPopup = true
AppState.shared.setAppStep(step: .contentViewSettings)
moveToContentSettingsWithGuideToast()
return
}
}
@@ -513,6 +511,11 @@ struct HomeView: View {
)
}
private func moveToContentSettingsWithGuideToast() {
AppState.shared.setPendingContentSettingsGuideMessage(I18n.Settings.adultContentEnableGuide)
AppState.shared.setAppStep(step: .contentViewSettings)
}
private func handleExternalNavigationRequest(
value: Int,
navigationAction: @escaping () -> Void,