Compare commits

...

1 Commits
main ... TOPBAR

Author SHA1 Message Date
cheykrym
5eeff5d24d ANTIFAB 2025-07-24 23:22:41 +03:00
2 changed files with 10 additions and 9 deletions

View File

@ -43,15 +43,7 @@ struct ProfileContentTabbedGrid: View {
.cornerRadius(8)
.font(.subheadline)
Button {
// Создать пост
} label: {
Label("Создать", systemImage: "plus")
.font(.subheadline)
.padding(8)
.background(Color.blue.opacity(0.2))
.cornerRadius(8)
}
} else {
TextField("Поиск", text: $searchQuery)
.padding(.horizontal, 10)

View File

@ -80,6 +80,15 @@ struct ProfileTab: View {
}
}
}
ToolbarItem(placement: .navigationBarLeading) {
Button(action: {
// TODO: Действие для создания поста
}) {
Image(systemName: "plus")
.imageScale(.large)
}
}
ToolbarItem(placement: .navigationBarTrailing) {
NavigationLink(destination: SettingsView(viewModel: viewModel)) {
Image(systemName: "wrench")