Fix default alignment swiftlint offense

This commit is contained in:
Arkadiusz Fal
2022-11-25 19:31:48 +01:00
parent 84e50ddd25
commit 53620c4d35
14 changed files with 17 additions and 17 deletions

View File

@@ -57,7 +57,7 @@ struct PlayerControls: View {
#endif
VStack {
ZStack(alignment: .center) {
ZStack {
VStack(spacing: 0) {
ZStack {
OpeningStream()

View File

@@ -127,7 +127,7 @@ struct TimelineView: View {
.modifier(ControlBackgroundModifier())
.clipShape(RoundedRectangle(cornerRadius: 4))
ZStack(alignment: .center) {
ZStack {
ZStack(alignment: .leading) {
ZStack(alignment: .leading) {
Rectangle()

View File

@@ -19,7 +19,7 @@ struct CommentView: View {
var body: some View {
VStack(alignment: .leading) {
HStack(alignment: .center, spacing: 10) {
HStack(spacing: 10) {
HStack(spacing: 10) {
ZStack(alignment: .bottomTrailing) {
authorAvatar

View File

@@ -53,7 +53,7 @@ struct VideoDetails: View {
.frame(maxWidth: detailsSize.width)
.transition(.fade)
HStack(alignment: .center) {
HStack {
if detailsToolbarPosition.needsLeftSpacer { Spacer() }
VideoDetailsToolbar(video: video, page: $page, sidebarQueue: sidebarQueue)