add buttons
This commit is contained in:
		
							parent
							
								
									7a2fb798a3
								
							
						
					
					
						commit
						9f2a938b1e
					
				@ -9,11 +9,44 @@ 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 {
 | 
			
		||||
            VStack {
 | 
			
		||||
                Text("After Register View")
 | 
			
		||||
                
 | 
			
		||||
                Section(header: Text(NSLocalizedString("Вход и защита аккаунта (заглушка)", comment: "Раздел настроек безопасности для аутентификации"))) {
 | 
			
		||||
                    NavigationLink(isActive: $isTwoFactorActive) {
 | 
			
		||||
                        TwoFactorAuthView()
 | 
			
		||||
                    } label: {
 | 
			
		||||
                        Label(NSLocalizedString("Двухфакторная аутентификация", comment: "Переход к настройкам двухфакторной аутентификации"), systemImage: "lock.shield")
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    NavigationLink(isActive: $isEmailSettingsActive) {
 | 
			
		||||
                        EmailSecuritySettingsView()
 | 
			
		||||
                    } label: {
 | 
			
		||||
                        Label(NSLocalizedString("Настройки email", comment: "Переход к настройкам безопасности email"), systemImage: "envelope")
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    NavigationLink(isActive: $isAppLockActive) {
 | 
			
		||||
                        AppLockSettingsView()
 | 
			
		||||
                    } label: {
 | 
			
		||||
                        Label(NSLocalizedString("Пароль на приложение", comment: "Переход к настройкам пароля на приложение"), systemImage: "lock.square")
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    NavigationLink(destination: EditProfileView()) {
 | 
			
		||||
                        Label(NSLocalizedString("Редактировать профиль", comment: ""), systemImage: "person.crop.circle")
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    NavigationLink(destination: EditPrivacyView()) {
 | 
			
		||||
                        Label(NSLocalizedString("Конфиденциальность", comment: ""), systemImage: "lock.fill")
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                    
 | 
			
		||||
                
 | 
			
		||||
            }
 | 
			
		||||
            .navigationTitle("Welcome")
 | 
			
		||||
            .toolbar {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user