mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix the spacing on top of the library list
On iPad the navigation bar size was set too larger without specifying inline. Without the spacer we get some re-layout glitches after loading completes.
This commit is contained in:
parent
4149299b68
commit
188b51b293
1 changed files with 5 additions and 1 deletions
|
|
@ -67,6 +67,7 @@ import Views
|
|||
.sheet(item: $viewModel.itemForHighlightsView) { item in
|
||||
HighlightsListView(itemObjectID: item.objectID, hasHighlightMutations: $hasHighlightMutations)
|
||||
}
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .barLeading) {
|
||||
Image.smallOmnivoreLogo
|
||||
|
|
@ -274,10 +275,13 @@ import Views
|
|||
) {
|
||||
EmptyView()
|
||||
}
|
||||
VStack {
|
||||
VStack(spacing: 0) {
|
||||
if viewModel.showLoadingBar {
|
||||
ShimmeringLoader()
|
||||
} else {
|
||||
Spacer(minLength: 2)
|
||||
}
|
||||
|
||||
List {
|
||||
if viewModel.items.count > 0 || viewModel.searchTerm.count > 0 {
|
||||
filtersHeader
|
||||
|
|
|
|||
Loading…
Reference in a new issue