TDKCandidates // Optimize vertical display in single column mode.
This commit is contained in:
parent
f94ecf5fda
commit
85efbeaf81
|
@ -72,7 +72,7 @@ public struct VwrCandidateVertical: View {
|
|||
).id(columnIndex)
|
||||
if loopIndex < thePool.maxLinesPerPage - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
} else if thePool.maxLinesPerPage > 1 {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ public struct VwrCandidateVertical: View {
|
|||
)
|
||||
if loopIndex < thePool.maxLinesPerPage - thePool.rangeForCurrentPage.count - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
} else if thePool.maxLinesPerPage > 1 {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ public struct VwrCandidateVerticalBackports: View {
|
|||
).id(columnIndex)
|
||||
if loopIndex < thePool.maxLinesPerPage - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
} else if thePool.maxLinesPerPage > 1 {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ public struct VwrCandidateVerticalBackports: View {
|
|||
)
|
||||
if loopIndex < thePool.maxLinesPerPage - thePool.rangeForCurrentPage.count - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
} else if thePool.maxLinesPerPage > 1 {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue