fix(home): 라이브 19금 안내 토스트를 설정 화면에서 표시한다
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user