profile deleted swipe
This commit is contained in:
parent
ff155b23e5
commit
71b19f15ba
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user