mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Fix default alignment swiftlint offense
This commit is contained in:
@@ -57,7 +57,7 @@ struct PlayerControls: View {
|
||||
#endif
|
||||
|
||||
VStack {
|
||||
ZStack(alignment: .center) {
|
||||
ZStack {
|
||||
VStack(spacing: 0) {
|
||||
ZStack {
|
||||
OpeningStream()
|
||||
|
@@ -127,7 +127,7 @@ struct TimelineView: View {
|
||||
.modifier(ControlBackgroundModifier())
|
||||
.clipShape(RoundedRectangle(cornerRadius: 4))
|
||||
|
||||
ZStack(alignment: .center) {
|
||||
ZStack {
|
||||
ZStack(alignment: .leading) {
|
||||
ZStack(alignment: .leading) {
|
||||
Rectangle()
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user