Skip to content

Commit

Permalink
Fix photo icons #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Sep 4, 2023
1 parent d045194 commit 5d7abb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/OversizePhotoKit/PhotoOptionsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public struct PhotoOptionsView<A>: View where A: View {
Row("Photo", subtitle: date?.formatted(date: .long, time: .omitted)) {
image
}
.rowContentInset(.init(horizontal: .zero, vertical: .xSmall))
.rowContentMargins(.init(horizontal: .zero, vertical: .xSmall))
}
.trailingBar { BarButton(.close) }
.backgroundSecondary()
Expand All @@ -72,7 +72,7 @@ public struct PhotoOptionsView<A>: View where A: View {
)
) {
Row("Share") {
Icon(Icons.Base.upload)
Image.Base.upload
}
}
}
Expand All @@ -81,7 +81,7 @@ public struct PhotoOptionsView<A>: View where A: View {
}
.buttonStyle(.row)
}
.surfaceContentRowInsets()
.surfaceContentRowMargins()

if deleteAction != nil {
SectionView {
Expand All @@ -92,7 +92,7 @@ public struct PhotoOptionsView<A>: View where A: View {
.multilineTextAlignment(.center)
}
}
.surfaceContentRowInsets()
.surfaceContentRowMargins()
}
}
.padding(.top, -16)
Expand Down

0 comments on commit 5d7abb6

Please sign in to comment.