mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 08:35:26 +00:00
Fix button
This commit is contained in:
parent
11d4d20873
commit
758fa8a6f9
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ public struct TimelineView: View {
|
|||
}
|
||||
.padding(.top, DS.Constants.layoutPadding)
|
||||
}
|
||||
if filter == .home {
|
||||
if viewModel.timeline == .home {
|
||||
makePendingNewPostsView(proxy: proxy)
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ public struct TimelineView: View {
|
|||
.navigationTitle(filter?.title() ?? viewModel.timeline.title())
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbar {
|
||||
if filter == nil, client.isAuth {
|
||||
if client.isAuth {
|
||||
ToolbarItem(placement: .navigationBarTrailing) {
|
||||
timelineFilterButton
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue