mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 17:51:01 +00:00
Remove some Spacer()
This commit is contained in:
parent
fab23cbafc
commit
68b7d469f5
3 changed files with 17 additions and 18 deletions
|
@ -107,7 +107,6 @@ public struct StatusRowCardView: View {
|
|||
.accessibilityHidden(true)
|
||||
.frame(height: imageHeight)
|
||||
}
|
||||
HStack {
|
||||
VStack(alignment: .leading, spacing: 6) {
|
||||
Text(title)
|
||||
.font(.scaledHeadline)
|
||||
|
@ -123,8 +122,8 @@ public struct StatusRowCardView: View {
|
|||
.foregroundColor(theme.tintColor)
|
||||
.lineLimit(1)
|
||||
}
|
||||
Spacer()
|
||||
}.padding(16)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding(16)
|
||||
}
|
||||
|
||||
private func iconLinkPreview(_ title: String, _ url: URL) -> some View {
|
||||
|
|
|
@ -48,8 +48,8 @@ struct StatusRowDetailView: View {
|
|||
Text(editedAt.asDate, style: .date) +
|
||||
Text("status.summary.at-time") +
|
||||
Text(editedAt.asDate, style: .time)
|
||||
Spacer()
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.onTapGesture {
|
||||
viewModel.routerPath.presentedSheet = .statusEditHistory(status: viewModel.status.id)
|
||||
}
|
||||
|
|
|
@ -27,8 +27,8 @@ struct StatusRowTextView: View {
|
|||
.environment(\.openURL, OpenURLAction { url in
|
||||
viewModel.routerPath.handleStatus(status: viewModel.finalStatus, url: url)
|
||||
})
|
||||
Spacer()
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
makeCollapseButton()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue