profile deleted swipe

This commit is contained in:
cheykrym 2025-07-16 06:58:33 +03:00
parent ff155b23e5
commit 71b19f15ba

View File

@ -64,20 +64,14 @@ struct ProfileContentTabbedGrid: View {
.padding(.vertical, 12)
// Контент с табами
TabView(selection: $selectedTabIndex) {
ForEach(0..<4) { index in
ProfileContentGrid(
isContentLoaded: isContentLoaded,
selectedTabIndex: index,
selectedTabIndex: selectedTabIndex,
searchQuery: searchQuery,
selectedCategory: selectedCategory,
allPosts: allPosts,
isLoading: isLoading
)
.tag(index)
}
}
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
}
.onAppear {
if allPosts.isEmpty {