ios_app/Shared/Views/Tab/Profile/Settings/EditProfileView.swift
2025-07-16 06:40:07 +03:00

25 lines
786 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import SwiftUI
struct EditProfileView: View {
@State private var displayName = ""
@State private var description = ""
var body: some View {
Form {
Section(header: Text("Публичная информация")) {
TextField("Отображаемое имя", text: $displayName)
TextField("Описание", text: $description)
}
Button(action: {
// Действие для сохранения профиля
print("DisplayName: \(displayName)")
print("Description: \(description)")
}) {
Text("Применить")
}
}
.navigationTitle("Редактировать профиль")
}
}