mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-15 19:56:36 +00:00
Better timeline top pin view
This commit is contained in:
parent
f0061b36ca
commit
ce845cd6b3
1 changed files with 3 additions and 2 deletions
|
@ -80,12 +80,13 @@ public struct TimelineView: View {
|
|||
TimelineUnreadStatusesView(observer: viewModel.pendingStatusesObserver)
|
||||
}
|
||||
}
|
||||
.safeAreaInset(edge: .top) {
|
||||
.safeAreaInset(edge: .top, spacing: 0) {
|
||||
if canFilterTimeline, !pinnedFilters.isEmpty {
|
||||
TimelineQuickAccessPills(pinnedFilters: $pinnedFilters, timeline: $timeline)
|
||||
.padding(.vertical, 8)
|
||||
.padding(.horizontal, .layoutPadding)
|
||||
.background(theme.primaryBackgroundColor.opacity(0.50).background(Material.ultraThin))
|
||||
.background(theme.primaryBackgroundColor.opacity(0.50))
|
||||
.background(Material.regular)
|
||||
}
|
||||
}
|
||||
.onChange(of: viewModel.scrollToIndex) { _, newValue in
|
||||
|
|
Loading…
Reference in a new issue