Disable indentation in compact post
This commit is contained in:
parent
11388757f3
commit
c1c7c666cb
|
@ -50,8 +50,8 @@
|
|||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/RevenueCat/purchases-ios.git",
|
||||
"state" : {
|
||||
"revision" : "dcb1bc08be560b626207a5782eca6ed132149409",
|
||||
"version" : "4.30.4"
|
||||
"revision" : "47d9150b04c5fe6e9b37e3b8bfdfb7be606e0f74",
|
||||
"version" : "4.30.5"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -32,16 +32,18 @@ public struct StatusRowView: View {
|
|||
|
||||
public var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
HStack(spacing: 3) {
|
||||
ForEach(0..<indentationLevel, id: \.self) {_ in
|
||||
Rectangle()
|
||||
.fill(theme.tintColor)
|
||||
.frame(width: 2)
|
||||
.accessibilityHidden(true)
|
||||
if !isCompact {
|
||||
HStack(spacing: 3) {
|
||||
ForEach(0..<indentationLevel, id: \.self) {_ in
|
||||
Rectangle()
|
||||
.fill(theme.tintColor)
|
||||
.frame(width: 2)
|
||||
.accessibilityHidden(true)
|
||||
}
|
||||
}
|
||||
if indentationLevel > 0 {
|
||||
Spacer(minLength: 8)
|
||||
}
|
||||
}
|
||||
if indentationLevel > 0 {
|
||||
Spacer(minLength: 8)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
if viewModel.isFiltered, let filter = viewModel.filter {
|
||||
|
|
Loading…
Reference in New Issue