// // AfterRegisterView.swift // yobble // // Created by cheykrym on 24.10.2025. // import SwiftUI struct AfterRegisterView: View { @Binding var isPresented: Bool @State private var isTwoFactorActive = false @State private var isEmailSettingsActive = false @State private var isAppLockActive = false var body: some View { NavigationView { Form { Section(header: Text(NSLocalizedString("Добро пожаловать в Yobble!", comment: ""))) { Text(NSLocalizedString("Для начала, мы рекомендуем настроить параметры безопасности вашего аккаунта.", comment: "")) } Section(header: Text(NSLocalizedString("Безопасность аккаунта", comment: ""))) { NavigationLink(destination: TwoFactorAuthView()) { Label(NSLocalizedString("Двухфакторная аутентификация", comment: ""), systemImage: "lock.shield") } NavigationLink(destination: EmailSecuritySettingsView()) { Label(NSLocalizedString("Настройки email", comment: ""), systemImage: "envelope") } } Section(header: Text(NSLocalizedString("Приложение", comment: ""))) { NavigationLink(destination: AppLockSettingsView()) { Label(NSLocalizedString("Пароль на приложение", comment: ""), systemImage: "lock.square") } } Section(header: Text(NSLocalizedString("Профиль", comment: ""))) { NavigationLink(destination: EditProfileView()) { Label(NSLocalizedString("Редактировать профиль", comment: ""), systemImage: "person.crop.circle") } NavigationLink(destination: EditPrivacyView()) { Label(NSLocalizedString("Конфиденциальность", comment: ""), systemImage: "lock.fill") } } Section { Button(action: { isPresented = false }) { Text(NSLocalizedString("Продолжить", comment: "")) .frame(maxWidth: .infinity, alignment: .center) } } } .navigationTitle(NSLocalizedString("Начальная настройка", comment: "")) .toolbar { ToolbarItem(placement: .navigationBarTrailing) { Button(NSLocalizedString("Пропустить", comment: "")) { isPresented = false } } } } } } struct AfterRegisterView_Previews: PreviewProvider { static var previews: some View { AfterRegisterView(isPresented: .constant(true)) } }